dsfb-rf 1.0.1

DSFB-RF Structural Semiotics Engine for RF Signal Monitoring - A Deterministic, Non-Intrusive Observer Layer for Typed Structural Interpretation of IQ Residual Streams in Electronic Warfare, Spectrum Monitoring, and Cognitive Radio
Documentation
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
+
�Q�i��
�a�R�tu0tRt^RIt^RIt^RIt^RIt^RIt^RIHt^RI	t	]	P!R4^RIHt
^RIHt^RIHt^RIHt^RIHtHt^RIHt^RIHt^RIHt^RIt ^RI!H"t"]
PFPI/RR	bR
RR.bR
^	bR^	bR^	bR^bR^bR^bRRbRRbRRbRRbRRbR^�bR^�bRRbR R!bR"R#/C4R$t%R%t&R&t'R't(R(t)R)t*R*t+R+]%R,]&R-]&R.]&R/]'/t,R0R1lt-R�R2R3llt.R4t/R5t0R6t1R7t2R8t3R9t4R:t5R;t6R<t7R=t8R>t9R?t:R@t;RAt<RBt=RCt>RDt?REt@RFtARGtBRHtCRItDRJtERKtFRLtGRMtHRNtIROtJRPtKRQtLRRtMRStNRTtORUtPRVtQRWtRRXtSRYtTRZtUR[tVR\tWR]tXR^tYR_tZR`t[Rat\Rbt]Rct^Rdt_Ret`RfRgltaRhRiltbRjRkltcRlRmltdRnRolteRpRqltfRrRsltgRtRulthRvRwltiRxRyltjRzR{ltkR|R}ltlR~RltmR�R�ltnR�R�ltoR�R�ltpR�R�ltq/^]/b^]0b^]1b^]2b^]3b^]4b^]5b^]6b^	]7b^
]8b^]9b^]:b^
];b^]<b^]=b^]>b^]?b/^]@b^]Ab^]Bb^]Cb^]Db^]Eb^]Fb^]Gb^]Hb^]Ib^]Jb^]Kb^]Lb^]Mb^ ]Nb^!]Ob^"]PbC/^#]Qb^$]Rb^%]Sb^']Tb^(]Ub^)]Vb^*]Wb^+]Xb^,]Yb^-]Zb^.][b^/]\b^0]]b^1]^b^2]_b^3]`b^4]abC/^5]bb^6]cb^7]db^8]eb^9]fb^:]gb^;]hb^<]ib^=]jb^>]kb^?]lb^@]mb^A]nb^B]ob^C]pb^D]qbCtr]^kR�ts]tR�8Xd
]s!4R#R#)�u�
DSFB-RF Unified Publication Figure Generator (All 40 Figures)
==============================================================
Reads  dsfb-rf-output/figure_data_all.json  (produced by
  cargo run --features std,serde --example generate_figures_all)
and renders all 51 publication-quality figures for the paper.

Figures 1–20  : original Phase-1 engine results
Figures 21–40 : Phase-4 engine results (attractor, TDA, pragmatic,
                DNA fingerprinting, CRLB, Arrhenius, …)
Figures 41–51 : Phase-5/6 (Landauer, Fisher-Rao, relativistic Doppler,
                quantum noise, BFT swarm, RG flow / TDA)

Usage:
    python3 figures_all.py                      # all 51 figures
    python3 figures_all.py --fig 2 8 13 25 32   # specific figures only
    python3 figures_all.py --dpi 300            # print-resolution (default 150)

Output: dsfb-rf-output/figs/fig_XX_*.pdf  +  dsfb-rf-output/figs/fig_XX_*.png
N)�Path�Agg)�ListedColormap�LinearSegmentedColormap)�GridSpec)�Line2D)�Axes3Dzfont.family�serifz
font.serifzTimes New RomanzDejaVu Serifz	font.sizezaxes.titlesizezaxes.labelsizezlegend.fontsizezxtick.labelsizezytick.labelsizezaxes.linewidth皙�����?zlines.linewidth�333333�?zgrid.linewidth皙�����?z
grid.alphaz	axes.gridTz
figure.dpizsavefig.dpizsavefig.bbox�tightzsavefig.pad_inches�{�G�z�?ztext.usetexF�#2ca02c�#ff7f0e�#d62728�#1f77b4�#9467bdz#7f7f7fz#e377c2�
AdmissiblezBoundary(SustainedOutwardDrift)zBoundary(AbruptSlewViolation)z"Boundary(RecurrentBoundaryGrazing)�	Violationc�0�V^8�dQhR\R\/#)��state�return)�str)�formats"�4/home/one/dsfb/crates/dsfb-rf/scripts/figures_all.py�__annotate__rTs��������c�\�\P4FwrW9gK
Vu#	\#�N)�
GRAMMAR_COLOR�items�	C_NEUTRAL)r�k�vs&  r�
grammar_colorr&Ts)���#�#�%����:��H�&��rc�H�V^8�dQhR\R\R\R\/#)r�idx�name�out_dir�dpi)�intrr)rs"rrr[s(����3��c��D��s�rc���VPRRR7RVR
RV2pRF#pW5RV2,pVPWtVR7K%	\RVR
RVR	24\P!V4R
#)T)�parents�exist_ok�fig_�02d�_�.)r+rz  Saved fig �: z.*N)�pdf�png)�mkdir�savefig�print�plt�close)�figr(r)r*r+�stub�ext�paths&&&&&   r�saver@[sx���M�M�$��M�.�
�#�c��!�D�6�"�D����6��3�%��(�����D�#��.��
�L��S�	��D�6��
,�-��I�I�c�Nrc�.�VR,R,p\P!VUu.uFqDR,NK
	up\R7p\P!VUu.uFqDR,NK
	up\R7p\P!VUu.uFqDR,NK
	up\R7pVUu.uFqDR,NK
	ppVU	u.uFp	\V	4NK	p
p	\	\V4RR7p\P!RR	7pVP^oR
R7p
VF_p\P!VU	u.uFq�V8HNK		up	4pV
PW_,Wo,W,\V4^RVR
R7Ka	Rp\P!RR^4p\P!RR^4p\P!VV4wpp\P!VV4pV
PVVVR\^R7V
PR^R7V
P!R^R7V
P#R^R7V
P%R4V
P'RRR7VP)4\+V^RW4R#uupiuupiuupiuupiuup	iuup	i)�fig01_semiotic_manifold�points�norm��dtype�drift�slew�regimec�:�VR9d.ROPV4#^#)r�r�Boundaryr)�index)�xs&r�<lambda>�plot_fig01.<locals>.<lambda>os,���A�A�0U�/Z�/Z�[\�/]�0I�GH�0Ir)�key��figsize�3d)�
projectionr
F)�c�s�alpha�label�
depthshade皙�����?g���Q��?���Q��?)rX�color�zorder�
‖r(k)‖)�labelpaduṙ(k) driftur̈(k) slewuoFig. 1 — Semiotic Manifold $\mathcal{M}_{\mathrm{sem}}$
Grammar Partition in $(\|r\|, \dot r, \ddot r)$ space�
upper left�ffffff�?)�loc�
framealpha�semiotic_manifoldN)�@�ffffff@g���Q���)�np�array�floatr&�sorted�setr:�figure�add_subplot�scatter�linspace�meshgrid�	full_like�plot_surface�C_VIOLATION�
set_xlabel�
set_ylabel�
set_zlabel�	set_title�legend�tight_layoutr@)�dr*r+�pts�prDrGrHrI�r�colors�labelsr<�ax�lab�mask�rho�_s�_d�S�Dr�Rs&&&                   r�
plot_fig01r�hs(��
�'�(��2�C��H�H�#�.�#�Q��i�i�#�.�e�<�D��H�H�#�.�#�Q��j�j�#�.�e�<�E��H�H�#�.�#�Q��i�i�#�.�e�<�D�#&�
'�3�a��k�k�3�F�
'�(.�
/��1�m�A���F�
/�
�C��K�&I�J�F��*�*�Z�
(�C�

�/�/�#�$�/�
/�B����x�x�6�2�6�a�c��6�2�3��
�
�
�4�:�u�{�D�J�"�3�'�2�T���	�	0���C�	���V�U�A�	&�B�	���V�U�A�	&�B��K�K��B��E�A�r�
���Q���A��O�O�A�r�1�D��A�O�F��M�M�,��M�+��M�M�.�1�M�-��M�M�-�!�M�,��L�L�M�N��I�I�,�3�I�/�������a�$�g�3��A/��.��.��
'��
/��3s#�I9�I>�	J�+J�J
�2
J
c�>�VR,R,p\P!^^R0R7wrE\WS4EFwrgVR,pVU	u.uFq�R,PRR4NK	p
p	\P
!VU	u.uFq�R,NK
	up	4p\P
!VU	u.uFq�R,NK
	up	4pV
U
u.uFp
R	V
9d\M\NK	pp
\P!\V
44pVPW�VR
R^R7p\VV4F_wppVPVP4VP4^,,VP4R
,VR
RRR^R7Ka	VPV4VP!V
RR7VP#^R4VP%R4VR,R,pVP'RVRVR,R
RVR,R
RVR ,^d,R
R!2	R"R7VP)R#\R$R%R&R'7VP+R(^R)7EK	VP-R*^	R+R,7VP/.R1OR-7\1V^R.W4R/#uup	iuup	iuup	iuup
i)2�fig02_compression�datasetsrR�comparatorsr)�(z(
�	precision�episodes�DSFB�black�333333�?)r]�	edgecolor�	linewidthr^�{�G�z�?�,�center�bottom�@)�ha�va�fontsize�rotation�r���������?�Episode Precision�dataset:N�NuFig. 2 — z
Compression �compression_ratio�.0fu× | Precision gain �precision_gain�.1fu× | Recall �recall�%�@g\���(\�?r
�--zDSFB precision�r]�lw�lsrY�y)�axisr^uqReview Surface Compression — DSFB vs. Scalar Comparators
(RadioML 2018.01a synthetic  +  ORACLE real USRP B200)�bold�r��
fontweight��rect�compression_comparisonN)�@�@��r����������?)r:�subplots�zip�replacerhri�C_DSFBr#�arange�len�bar�text�get_x�	get_width�
get_height�
set_xticks�set_xticklabels�set_ylimrvrx�axhline�grid�suptitlerzr@)r{r*r+r�r<�axesr��ds�compsrV�namesr�r��nrrN�barsr��eprYs&&&                 r�
plot_fig02r��sr���$�%�j�1�H����Q��:�6�I�C��d�%����=�!��;@�A�5�a�v�Y�&�&�s�5�1�5��A��H�H�e�<�e���n�n�e�<�=�	��H�H�e�<�e��
�m�m�e�<�=��@E�F��1�F�a�K�&�Y�6���F��I�I�c�%�j�!���v�v�a�&�G�s�[\�v�]���4��*�G�C���G�G�C�I�I�K�#�-�-�/�!�"3�3�S�^�^�5E��5L��!�f�(�x�#�PQ�
�
S�+�	�
�
�a��
���5�3��/�
���A�t��
�
�
�)�*��9�
�c�"��
���{�5�'�*$�$&�':�$;�C�#@�A'�')�*:�';�C�&@��R�PX�\�Z]�M]�^a�Lb�bc�e�"�	�	#�	�
�
�4�v�#�$�>N�
�O�
���S���#�5&�8�L�L�J����0����/��*���a�)�7�8��=B��<��<��Fs�
!J�J
�-J
�	Jc
��VR,p\P!VR,4p\P!VR,4pVR,p\P!\V44p\P
!^^R&RR7wpwr�V	P
Wt\RRR7V	PR	\R
RRR
7V	PR\RRRR
7\R\V44\V44pV	PV\V4\RRVR2R7V	PR4V	P!^^R7V	P#R4VUu.uFp\%V4NK	p
p\\'Wm44Fwpwr�V
P)^^VRVRR7K!	\*P,!\.RR7p\*P,!\RR7p\*P,!\RR7pV
P!VVV.R ^^R!7V
P1.4V
P3R"4V
PR#4V
P5^\V44VP74\9V^R$W4R%#uupi)'�fig03_oot_blindspot�
trajectory�luenberger_alarm�dsfb_grammarT�rS�sharex��������?r_�r]r�rYr[��?r�uLuenberger threshold δ = 0.10r��{�G�zt?rb�:u‖L·r(k)‖ = 0.5·‖r(k)‖c3�J"�TFwrRV9g
RV9gKVx�K	R#5i)rLrN�)�.0�i�gs&  r�	<genexpr>�plot_fig03.<locals>.<genexpr>�s*���C�);���(�A�o���1A��1�);�s�#�
#r\zDSFB Boundary detected (k=�)�r]rXrYz
Residual Norm�r��ncolu�Fig. 3 — Observer-of-Observer Structural Blindspot (Theorem OoT)
$\mathcal{T}_{\mathrm{blind}}$: small ‖r‖ but persistent $\dot r>0$�none��left�heightr]r�r�r]rYrLr�lower right)�handlesrcr�r��
Observation k�Grammar�
oot_blindspotN��@rg)rhrir�r�r:r��plotr�r�rtr#�next�	enumerate�axvspan�
C_BOUNDARYrvryrxr&r��barh�mpatches�Patch�C_ADMISSIBLE�
set_yticksru�set_xlimrzr@)r{r*r+�oot�traj�l_alarm�grammarr$r<�ax1�ax2�first_boundaryr�rr�rV�patch_A�patch_B�patch_Vs&&&                r�
plot_fig03r�s,��
�$�
%�C�
�X�X�c�,�'�
(�D��h�h�s�-�.�/�G��.�!�G�
�	�	�#�d�)��A��l�l�1�a��D�I�O�C��#��H�H�Q�F�s�,�H�?��K�K��K�C�D�6��8��K�K��Y�3�3�7��9��C��7�);�C�DG��F�L�N��K�K���A��j��2�>�2B�!�D��F��N�N�?�#��J�J���J�"��M�M�_�`�)0�
0��1�m�A���F�
0��s�7�3�4�	��6�A�����A�A�c��f��E�5��n�n�<�|�D�G��n�n�:�z�B�G��n�n�;�{�C�G��J�J���'�2�
����#��N�N�2���N�N�?�#��N�N�9���L�L��C��F��������a��'�/��1s�Jc
��VR,R,pVR,R,p\P!R*R7wrVVPR+\V4R,
4VP	R,R4VPR4VP
RR	R
7.R-OpRRr�VF�p
V
R
,pWzR
,\V4,,p\P!W�^,,
V	)^,3W�RVRR^R7p
VPV
4VPVRV
R,RRRR^R7VPVR.V
R,RR^R^R7VPVR/V
R,RRRRR^R7	VPVRV
R ,RR^R!^R7K�	VFWwr�W�^,,R",W�^,,
R",
ppVPR#V^3V^3\R$RR%R&7^R'7KY	VP4\V^R(W4R)#)0�fig04_pipeline�stages�edgesr�rR��?�ffffff�?�offurFig. 4 — DSFB-RF Deterministic Pipeline
(no_std · no_alloc · zero unsafe — compiler-enforced at every stage)�!@r�g=
ףp=�?g���Q��?�idzround,pad=0.04�#333333r
��boxstyle�	facecolorr�r�r^���Q��?r)r�r�r�)r�r�r�r�r^�module�#444444)r�r�r�r]r^�output_typez#222222�italic)r�r�r�r]�	fontstyler^g)\���(�?�theoremz#666666r���->皙�����?��
arrowstyler]r�)�xy�xytext�
arrowpropsr^�pipeline_dagN)r��@�������)�#aec7e8�#c5b0d5z#98df8az#ffbb78z#c49c94z#f7b6d2z#dbdb8d���Q���g�Q���ѿ)r:r�rr�r�r�rxr�FancyBboxPatch�	add_patchr��annotate�dictrzr@)r{r*r+rrr<r��
box_colors�w�hrWrN�colr��a�b�x1�x2s&&&               r�
plot_fig04r?�s��
��
 ��
*�F�
��
 ��
)�E��l�l�:�.�G�C��K�K��c�&�k�C�'�(��K�K��C���G�G�E�N��L�L�\����3�J���q�
��
�d�G���4��3�z�?�2�3���&�&��a�C��!��A����%���3�q�:��	���T��
����4��6��x�H����	�	;�
����5�!�H�+�(�x��)�A�	�	7�
����5�!�M�*�x�H��I�"�1�	�	.�	����4��9��(�x��)�A�	�	7��"����q�S��4���q�S��4��B��
���B�B��7�B��7�#�t�9�&)� +�34�	�	6��������a���.rc	�d�VR,pVR,pVR,p\P!RR7wrg\PR,P	\V44p\V^,R,4p	\P!V	4p
\V4F�wr�\P!VR,4p
VR,pV!V\V4^,
,4pVPW�VRVR,R	7\\W�^,
44pVV	8gK�VPVVR
RRR
7K�	VPV\RRRV2R7TP!Y�VP#4^,V8�dVP#4^,MVR,R\R7VP%R4VP'R4VP)RVR,4VP+^R^R7VP-R4VP/4\1V^RW4R#)�fig05_envelope_exitr��curvesrR�coolwarmr��k_starrrYr�r�r�rb�r]r�r�rXrr�uEnvelope boundary ρ = r�gffffff�?�{�G�z�?�rXr]r�uResidual norm ‖r(k)‖ra)r�rcr�urFig. 5 — Finite-Time Envelope Exit Bound (Theorem 1)
$k^* \leq \rho/\alpha$ — computable without a noise model�envelope_exit_theorem1N�rf�@g{�G�zt�)r:r��
matplotlib�	colormaps�	resampledr�rhr�r�rir�r,�min�axvliner�rt�fill_between�get_ylimrurvr�ryrxrzr@)r{r*r+�datar�rBr<r��cmap�n_obsr$r�rVrrDr:�ks_ints&&&              r�
plot_fig05rVs���
�#�$�D���K�C�
�(�^�F��l�l�:�.�G�C����
�+�5�5�c�&�k�B�D���q�	�,�'�(�E�
�	�	�%��A��&�!����x�x��,��(���8����1��F��a��(�)��
����s�s�!�G�*��=��S����+�,���E�>��J�J�v�S�S�S��J�D�"��J�J�s�+�#�$�.�s�e�4��6��O�O�A����
�a�0@�3�0F�B�K�K�M�!�,�C�RV�J��k��3��M�M�/�"��M�M�,�-��K�K���d�
�#��I�I�q�l��I�3��L�L�R�S�������a�)�7�8rc���VR,p\P!VR,4p\P!VR,4pVR,pVR,p\P!^^R8RR7wpwr�V	P	WE\
RRR	7V	P
R
\RRR
R7V	P
R\RRRR7V	P
R\RRRR7V	PWE^VR
8�\RRR7V	PWE^VR8�VR
8*,\RRR7V	PR4V	PRRR9RR RR!7V	PR"4\V4F%wr�V
P^^VR\!V4R#R$7K'	\"P$!\&R%R&7p
\"P$!\R'R&7p\"P$!\R(R&7pV
PW�V.RR9^^RR RR)7V
P).4V
P+R*4V
PR+4V
P-^\/V44V	P14wppVR,VV,
,,pR:R;R<R-^_\/V433F9wpppV	P3VV,^,VVR.RR/\5R0R1R2R37R47K;	VP7.R=OR57\9V^R6W4R7#)>�fig06_lyapunovr$�lambdar�	stabilityTr�ruλ(k) — FTLEr�r�r�r�u&λ_crit = 0.01 (ExponentialDivergence)r�g����MbP?rbr�uε = 0.001 (MarginalDivergence)�r��-rrE�
ףp=
�?zExponential divergence zone��wherer]rXrY��Q����?zMarginal divergence zoneuLyapunov exp. λ(k)r�ra�333333�?)r�rc�bbox_to_anchor�frameonrd�
borderaxespadu�Fig. 6 — Finite-Time Lyapunov Exponent vs. Grammar State
Healthy (λ<0) → slow drift (λ>0) → jamming onset (λ spike) → recoveryr�r�uAdmissible (λ<0)r�uBoundary (λ>0)r)r�rcrbr�r�rcrdrdr�r���(\����?�Recoveryr�r�round,pad=0.15�whiter
�rrrX�r�r�r]�bboxr��lyapunov_time_seriesN)�������@�@)�R���Q�?r�)uHealthy
(λ < 0)r�r�)uThermal drift
(λ > 0)r��F)z
Jamming
onsetrp�_)r�r�rer�)rhrir:r�r�r�r�rtr�r#rPrvryrxr�r�r&rrrrrurr�rQr�r6rzr@)r{r*r+�lpr$�lamrrZr<r	r
r�r�rr
r�ymin�ymax�ylabelrY�start�ends&&&                   r�
plot_fig06ry=s���	
��	�B��h�h�r�#�w��A��h�h�r�(�|�$�C���m�G��;��I��l�l�1�a��D�I�O�C��#��H�H�Q�6�c�1A�H�B��K�K��K�C�D�>��@��K�K��Z�C�C�7��9��K�K��9���C�K�@����Q�Q�s�T�z�&�d�8��:����Q�Q��e���t��'D�%�T�5��7��N�N�(�)��J�J���k���C��A��M�M�c�d��'�"�������A�A�c��q�1A�V��T�#��n�n�<�7J�K�G��n�n�:�7H�I�G��n�n�;�{�C�G��J�J��'�2�����4�D� ��"��N�N�2���N�N�?�#��N�N�9���L�L��C��F������J�D�$�
�D�D�4�K�(�
(�F�:�B�9� *�B��A��7�9���u�c�	���%�#�+��"�F�E��s�)��$4��s�S�	�	U�	9����+��,���a�'��6rc	�L�VR,pVR,p\P!^^R0R^^./R7wpwrgVUu.uFq�R,NK
	p	p\P!VUu.uFq�R,^,NK	up4p
W�P	4,pVUu.uFq�R,R8Xd\
M\NK	ppVPW�RV\\\.,^�R	^/R
7wr�pVFpVP^4K	VPR4RVR
,\
3RVR,\3RVR,\3RVR,R
\^�4R2VR,\3RVR,\3.pVUu.uFpV^,NK	ppVUu.uFpV^,NK	ppVUu.uFpV^,NK	ppVP\!\#V44VVRRR7pVP%\!\#V444VP'VRR7VP)R4VPRVR,R 
R!VR,R
R"24\+\-VV44F8wpwppVP/V\1V4R#,,VVR$
R%^R&7K:	VP34VP5R'R(7VP7R)R*R+R,7VP9.R1OR-7\;V^R.W4R/#uupiuupiuupiuupiuupiuupi)2�	fig07_gum�contributors�width_ratios�rS�gridspec_kwr)�value�kind�Az%1.1f%%r�)r��autopctr�
startangle�	textpropsz.Variance Budget
(Type A + Type B contributors)z$u_A$ (Type A)�u_az$u_B$ (Type B)�u_b_combinedz$u_c$ combined�u_cz$U = k�
coverage_kr�zu_c$�
expanded_uz$\rho_{\mathrm{GUM}} = \mu + U$�rho_gumrr��r]r�r�r�r�uNorm units (‖r‖)uGUM Budget Summary
ρ_GUM = �.4fz  (k=z, WSS-verified)�{�G�z�?z.5fr��r�r�rN)r�u�Fig. 7 — GUM/JCGM 100:2008 Uncertainty Budget for Admissibility Envelope
Type A (statistical) + Type B (NF, ADC quantisation, thermal, LO) contributorsr�r)r�r�r��gum_uncertainty_budgetN)皙����@皙����	@�r�r�r��)\���(�?)r:r�rhri�sumr�r��piertr#�C_HIGHLIGHT�set_fontsizerx�chrrr��ranger�r�set_yticklabelsrur�r�r��max�invert_yaxisr�r�rzr@)r{r*r+r��contribsr<r	r
rVr��values�fracs�type_colors�wedges�texts�	autotexts�at�	summariesrWr��vals�colsr�r�r��vals&&&                       r�
plot_fig07r�zs��	�+��A��� �H��l�l�1�a��0>��A��/G�I�O�C��#�"*�
*��A��i�i��E�
*�
�X�X��9��1��z�Q����9�
:�F�
�j�j�l�
"�E�GO�P�x�!�v�Y�#�-�6�:�=�x�K�P�"�w�w�
�Y��k�9�k�B�B��:�q�/� '� ��F�9�
��
�������M�M�C�D�
�1�U�8�V�4�	�1�^�,�j�9�	�1�U�8�i�8��!�L�/�#�&�s�3�x�j��	5�q����T�	-��)���V��I�&�
&�I�q�a��d�d�I�F�
&�%�
&�I�q�a��d�d�I�D�
&�%�
&�I�q�a��d�d�I�D�
&��8�8�E�#�f�+�&��D�'�3��8�D��N�N�5��V��%�&�������-��N�N�)�*��M�M���	�l�3�/�u�Q�|�_�S�4I��Z�[�"�3�t�T�?�3�
��:�C������s�4�y�4�'�'��s�3�i��q�	�	*�4������H�H�#�H���L�L�b�"�S��2����/��*���a�)�7�8��W+��9��P��&'��
&��
&s#�L�!L
�"L�L�L�2L!c���VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!R&R7wrx\P
!RR\3R'R\3.4p	VPVRR	V	RR\P!V^,4\P!VR(,4V^,VR(,.R
7p
VPW�RRR
7pVPR^R7VPR4VPR4VPR)RRRRR7VP^RR7VP!R4VP#\P!V^,4R,R*RRRRR\%RR R!R"7R#7VP'4\)V^R$W4R%#)+�
fig08_horizon�
snr_levels�alpha_levels�detection_raterR�horizonr[r��lower�auto)�origin�aspectrS�vmin�vmax�extent�Zd;�O��?r�r��fraction�padz!Detection rate (0=miss, 1=detect)r�ulog₁₀(drift rate α)�SNR (dB)rhrr�uSNR floor (−10 dB)r�ra�r�rcu�Fig. 8 — Semiotic Horizon: Detection Surface in (SNR, α) space
Zone of Success (green) / Zone of Failure (red) — maps CRLB-limited boundary�\���(\�?z8Sub-SNR floor:
forced Admissible
(L10 non-claim honored)r�r�r��roundrr�ri)r�r]r�r�rk�semiotic_horizon_heatmapNr�)r�#ffdd88r/i����i����)rhrir:r�r�	from_listrtr�imshow�log10�colorbar�	set_labelrurvr�ryrxr�r6rzr@)r{r*r+�hz�snr�alp�detr<r�rS�im�cbars&&&         r�
plot_fig08r��s���
�O�
�B�
�(�(�2�l�#�
$�C�
�(�(�2�n�%�
&�C�
�(�(�2�&�'�
(�C��l�l�:�.�G�C�"�,�,��S�+�&�(8�3��:M�N�P�D�	���3�w�v�D��#��8�8�C��F�+�R�X�X�c�"�g�->���F�C��G�-�
�
.�B�
�<�<��E�t�<�<�D��N�N�6��N�C��M�M�,�-��M�M�*���J�J�s�'�c�d�:P�J�Q��I�I�q�l�I�+��L�L�b�c��G�G�B�H�H�S��V��t�#�S�H���F�x��w�)�3�G��I�
������a�+�W�:rc���VR,pVR,pVR,p\P!R;R7wrgVPR4VPRRR7VUu.uFq�R,R	8XgKVNK	p	pVUu.uFq�R,R
8XgKVNK	p
pRRr�\	V	4\	V
4r�\
P!R
RV
4p\
P!RRV4p/p\V	4FwppW�V,3VVR,&K	\V
4FwppVVV,3VVR,&K	VF�pVVR,,wppVVR,,wppVPVR,VR,
.VV.RRRVR,,,RRR7VR,V,R,
^,pVV,^,pVPVVVR,R
RRRR R!7K�	R	R"R
R#/pVF�pVVR,,wppVR,R	8XdR<MR=wpp\P!VV^,,
VV^,,
3VVR$VVR,,R%R&^VPR'R(7
pVPV4TPTTVR),RRR*VR,R	8XdR+MR,VP^R-R.7
K�	VPVR/R0R^R+VPR%R17VPVR/R2R^R+VPR%R17W�3F*pVPVV.R3R4.VPR5R6R7^R'R87K,	VP4\V^	R9W4R:#uupiuupi)>�
fig09_physics�nodesrrRru�Fig. 9 — Physics-of-Failure Map: Grammar State → Candidate Physical Mechanism
(candidate hypotheses — physical attribution requires deployment calibration data)rr�r�r�	mechanismr`g
ףp=
�?ra�333333�?r�r[r�from�tog
ףp=
�?r\�#888888r�r-�weight�ffffff�?r�)r]r�rX�solid_capstyle�.2fr�r�r�r�r�r�r]r1r0zround,pad=0.015rrbF)rrr�r�r^�	transform�clip_onrYr�r��normalT)r�r�r�r�r�r^�wrap�
ףp=
�?zGrammar States)r�r�r�r�r]zCandidate Physical Mechanismsr���G�z�?�#ccccccr�r�)r�r]r�r�r^r��physics_failure_mappingN�r��������@)皙�����?��Q���?)�)\���(�?rF)r:r�r�rxr�rhrpr�r�r�rr3�	transAxesr4rzr@) r{r*r+�physr�rr<r�r��
grammar_nodes�
mech_nodes�gx�mx�n_g�n_m�gy�my�posr��e�x0�y0r=�y1�mx_pos�my_pos�GRAMMAR_BOX_COLORSrNr�r8r9r�s &&&                             r�
plot_fig09r��sm��
�o��D���M�E���M�E��l�l�:�.�G�C��G�G�E�N��L�L�h����!&�@��1�6��i�)?�Q�Q��M�@� %�B��1�6��k�)A�Q�Q��J�B�
�4���=�!�3�z�?��	���T�4��	%�B�	���T�4��	%�B�
�C��-�(���1��q�E�{��A�d�G��)��*�%���1��B�q�E�{��A�d�G��&����Q�v�Y����B��Q�t�W����B�
����d��B��I�&��R���C�#��(��*;�$;��7�	�	4��t�)�b�.�4�'�1�,���r�'�Q���
�����1�X�;�s�"3���3�i�	�	I��	�Y��Y������1�T�7�|���1� ��y�I�5�|�<���1��&�&��A�a�C���Q�q�S��'9�1�a�&�(��6��3��3�q��l�l�E�	3��
	���T��
����1�a��j�X�(��1�V�9�	�3I��x��,�,�q�t�	�	=���G�G�B��&�8�a�F��l�l�)��5��G�G�B��5�(�Q�[a��l�l�)��5��X��
����A���t������C�D��E�	�	K��������a�*�G�9��kA��Bs�M#�1M#�=M(�M(c
�V�VR,p\P!VR,4p\P!VR,4pVR,pVR,p\P!^^R%RR^^./R7wpwr�V	P	WE\
RR	R
7V	P
V\RRR
V2R7V	PWEWeV8�\RRR7V	PV^WUV8\
RR7V	PR4V	PRR7V	PR4\V4F%wr�V
P^^VR\V4RR7K'	V
P.4V
P!R4V
PR4V
P#^\%V44\&P(!\*RR7p
\&P(!\,RR7p\&P(!\R R7pV
PW�V.^^R!R"7VP/4\1V^
R#W4R$#)&�	fig10_dsar$�	dsa_score�taurT�
height_ratios�rSr�rrzDSA(k) compositer�r�r�uThreshold τ = r�r�uDSA ≥ τ (Policy active)r^r[�r_r]rX�	DSA Scorer�r�u�Fig. 10 — Deterministic Structural Accumulator (DSA) Score
DSA(k) = w₁·b + w₂·d + w₃·s + w₄·e + w₅·μ  →  Policy escalationrbr�r�r�r�rr�rLrr��r�r�r�rc�dsa_score_buildupNr�)rhrir:r�r�r�r�rtrPrvryrxr�r�r&rrurr�rrrr�rzr@)r{r*r+r�r$�dsar�rr<r	r
r�r�rr
rs&&&             r�
plot_fig10rs���	
�;��B��h�h�r�#�w��A��h�h�r�+��'�C���i�C���m�G��l�l�1�a��D�0?�!�Q��/H�J�O�C��#��H�H�Q�6�c�1C�H�D��K�K��;�3�4�'��u�-��/����Q�S���&�d�:V��X����Q��3�S�y�!���/��N�N�;���J�J��J���M�M�f�g��'�"�������A�A�c��q�1A�V��T�#��N�N�2���N�N�?�#��N�N�9���L�L��C��F���n�n�<�|�D�G��n�n�:�Z�@�G��n�n�;�k�B�G��J�J��'�2�Q�Q� ��"�������b�%�w�4rc���VR,pVR,pVR,p\P!VR,\R7p\P!R,R7wrx.p	VFlp
.pV
FPpV^8XdVP\4K!V^8XdVP\4K?VPR4KR	V	PV4Kn	VPwr�\V
4EF
p\V4F�p\P!VR,V
^,
V,
R,3RRR	W�,V,R
R^R7pVPV4WoV3,^8XdR
MWoV3,^8XdRMRpTPVR,V
^,
V,
R,TRRWoV3,^8�d^
M^	WoV3,^8XdRMWoV3,^8XdRMRWoV3,^8XdRMRR7K�	EK	TP\V4Uu.uFpVR,NK	up4VPVRR7TP!\V
4Uu.uFq�^,
V,
R,NK	up4VP#VRR7VP%^V4VP'^V
4VP)R4VP+RRR7\P!V^,
^3^V
RR\,R^R7pVPV4\P.!\RR 7\P.!\R!R 7\P.!RR
R"R#7\1^.^.\,RR$R%7.pVP3VR&^R'7VP5R(4VP6P94FpVP;R)4K	VP=4\?V^R*W4R+#uupiuupi)-�fig11_competitive�methods�capabilities�matrixrErRz#eeeeee皙�����?r�zround,pad=0.02r�rr�+�or\r�rhr�#aaaaaar�r��r�r�r�r]r�r�r�FunFig. 11 — Competitive Differentiation Matrix
+=provided  o=partial  -=absent   (DSFB=last column, rightmost)rz
round,pad=0.0r��@z
+ Provided)rrYz	o Partialz- Absent�rr�rYzDSFB (this work)r�r��r�rcr��onr��competitive_matrixN�r�rg) rhrirjr:r��appendrr��shaper�rr3r4r�r�r�rr�rr�r�rxr�rrryr��spinesr��
set_linewidthrzr@)r{r*r+�cmr	�caps�matr<r��cell_colors�row�	color_rowr%�n_cap�n_methr��jr��sym�rect_h�legend_elements�spines&&&                   r�
plot_fig11r(Hs]��	
��	�B���m�G��� �D��h�h�r�(�|�5�1�C��l�l�:�.�G�C��K����	��A��A�v�� � ��.��a��� � ��,�� � ��+�
�	���9�%���I�I�M�E�
�5�\���v��A��*�*��T��5�1�9�q�=�4�/�0�$��)�%�.��+�y��a�	)�D�

�L�L�����T��a��#�S�A��Y�!�^�c��C��G�G�A��G�U�Q�Y��]�S�0�#��H�#&�!�t�9�q�=�R�a�%(�A��Y�!�^�'�'*�a�4�y�A�~�)�9�),��T��a��v�X�
�
G��� �M�M�E�&�M�2�M�q�1�s�7�7�M�2�3����w���-��M�M��e��=��1�1�9�q�=�3�&�&��=�>����t�c��*��K�K��6���K�K��5���G�G�E�N��L�L�S�����
$�
$�	�!��Q���E� ��F��a�	!�F�
�L�L���	����\�B�����[�A�����)�:�V���s�A�3�f��4F�G�	�O��I�I�o�=�1�I�E��G�G�D�M����!�!�#��
���C� �$�������b�&��5��=3��=s�O,�O1c��VR,R,p\V4p\P!^VR5R^^./R7wrV\V4EF;wrx\P
!VR,4p	\P!\V	44p
VR,'d\M\pV^8�dV^V3,MV^,pV^8�dV^V3,MV^,p
VPW�VRR7VPVR,PR	R
4RR7TPV^8XdR
MR4VPR4VR,'dRMRpVPRRW�PRR^RV\!RRRR7R7
.R6OpVR,VR,\#VR,4.p.R7Op\%VV4UUu.uFwppVV8�d\M\NK	pppV
P'VVVR RR!7\%VV4F<wppVP)V4pV
P+VVR",
VR",R R#R$R%7K>	V
P-^R&4T
PV^8XdR'MR4V
P/R(R)7EK>	VP1R*R+RR,7VP3R-R.R/R0R1R27\5V^R3W4R4#uuppi)8�	fig12_wss�	scenariosr�r~�norms�is_wssr&�r]r�r)r��
(r�r�r_r$r$z	WSS: PASSz	WSS: FAILr�r��right�topr��
round,pad=0.2rhr
ri�r�r�r�r�r�r]rk�mean_deviation�variance_deviation�
lag1_autocorrrr�r]r�r�rr�r��r]r�r�r��Metricr���	labelsizeu�Fig. 12 — WSS Pre-condition Verification (Wiener-Khinchin)
GUM requires stationary calibration window before ρ = μ+kσ is validrr�r�r�r�gR���Q�?��������?)r1r�r0�wspace�hspace�wss_verificationN)�#@rn)z	Mean dev.z	Var. dev.z|lag-1|)r�rrb)r�r:r�r�rhrir�rrtr�rxr�rvrur�r�r6�absr�r�rM�hlinesr��tick_paramsr��subplots_adjustr@)r{r*r+�wss�n_scr<r�r#�scr,r$r:�ax_main�ax_bar�verdict�metricsr��
thresholdsr%�t�
bar_colors�t_val�metric�x_poss&&&                     r�
plot_fig12rR�s���
�K�.��
%�C��s�8�D����Q��j�+:�Q��F�*C�E�I�C��3��������G��%���	�	�#�e�*�%�� "�8����+�� $�q��$�q�!�t�*�d�1�g�� $�q��$�q�!�t�*�d�1�g�����Q�S�S��1����"�V�*�,�,�S�%�8�3��G����1��6�<�r�:����3��!#�H���+�;�����T�4��4E�4E��E�A�&����7�RU�V�	�	X�
8���&�'��,@�)A�3�r�/�GZ�C[�\��'�
�"%�d�J�"7�9�"7�$�!�Q�&'��U�k��<�"7�	�9��
�
�7�D�
�i�C�
�P� ��W�5�M�E�6��M�M�&�)�E��M�M�%����e�c�k� )�c�d�
�
<�6�	����4� ����a�1�f�(�"�5����S��)�= �@�L�L�Z��&��2����D�t�4��T��R���b�$�g�3��9s�Kc�P�VR,R,p\P!R8R7wrEVF�pVR,VR,r�VR,p	VR,p
VR,'d^ZM^7pVR,'dRMR	pTPY�Y�T^VR,'dR
MRVR,'dRM^R
7VR8�dR9Rr�M^Rr�VPVR,RV	R
R2W�3RV
^3RRVR7K�	\P
!RR^�4pR:F�pVV,^V,V,
R,,pV^8�VR8*,pVP
VV,VV,RRRRR 7\P!V4'gKz\P!\P!VV,R!,
44pVPVV,V,VV,V,R"VR#
2R$R%R&7K�	VPR'R(4VPR'R)4VPR*4VPR+4VP\!^.^.RR,R
^R-R.7\!^.^.R	\"^R/R07.R1R2R37VP%R44VP'RR57\)V^
R6W4R7#);�fig13_precision_recallr	rRr�r�r�r]�is_dsfb�Drrr�r
�rWrV�markerr^�
edgecolors�
linewidths�ffffff�?r0r�r)r/r�z ep.)r��
offset pointsr�)r�r*�
textcoordsr�r�r�r�rbg�-���q=r�rr�)r]r�rXreuF₁=r�r�r��r�r]r[ror��Recallr�rhr�)rXr]�markeredgecolor�msrY�Comparators)rXr]rarYr��
lower left�r�r�rcuiFig. 13 — Episode Precision–Recall Frontier
DSFB: 102.2× precision gain on RadioML, 76.8× on ORACLE)r��precision_recall_frontierN)gffffff@rn�����)r�rr[�333333�?rrb)r:r�ror5rhrpr��any�argminrAr�rr�rurvryrr#rxrzr@)r{r*r+�prr<r��mr}r~r�r:ra�mk�dxr��ps�f1�rs�validr(s&&&                 r�
plot_fig13rr�sw��	
�#�	$�Y�	/�B��l�l�:�.�G�C�
����~�q��{�1���}����z���y�\�\�r�r���	�l�l�s���
�
�
�1�2�R��+,�Y�<�<�i�V�%&�y�\�\�c�q�	�	:�

�t�8�������
���q��y�k��R��F�%�0��F�S���7�.��B�		�	(��,
���T�3��	$�B�2��
�"�W��B����e�+�
,���q��R�3�Y�'��
����5�	�2�e�9�d�)��3��O�
�6�6�%�=�=��)�)�B�F�F�2�e�9�t�#3�4�5�C��G�G�B�u�I�c�N�B�u�I�c�N�e�B�s�8�4D� �	�
�
3�
3��K�K��T���K�K��T���M�M�(���M�M�%�&��I�I���s�A�3�s�'�9�QR�Z`�a���s�A�3�s�)���O�����'��L�L�M�N���������b�-�w�<rc
�l�VR,p\P!VR,4p\P!VR,4p\P!RR7wrgVP	WER\
R^RR7\
WE4Fwr�VPV	R
W�3R	R^R
7K 	VPR\RR
RRR7VPR4VPR4VPRR7VPR4VPV4VP4\!V^RW4R#)�fig14_corroboration�m_values�
false_ep_raterR�o-皙�����?zFalse ep. rate�r]r�rarY�.3fr\�r]r*r�rr�r
rbz5% reference)r]r�r�rXrYzRequired corroboration count muFalse episode rate P(X ≥ m)r�r�uqFig. 14 — Multi-Channel Corroboration (Lemma 6)
$P(X\geq m) = \binom{M}{m}p_f^m(1-p_f)^{M-m}$, M=6, $p_f$=0.046�corroboration_lemma6NrI)�r})rhrir:r��semilogyr�r�r5r�r#rurvryrxr�rzr@)
r{r*r+�corr�m_v�f_epr<r�rNr�s
&&&       r�
plot_fig14r��s��
�#�$�D��H�H�T�*�%�&�C��H�H�T�/�*�+�D��l�l�:�.�G�C��K�K��4�v�#�!�CS�K�T��C����
���q��g���?�!�A�	�	/���J�J�t�9��#�S�#��%��M�M�2�3��M�M�1�2��I�I�s�I���L�L�U�V��M�M�#��������b�(�'�7rc	��VR,R,pVUu.uFqDR,NK
	pp\P!VUu.uFqDR,NK
	up4pVUu.uF+pRVR,P49d\M\NK-	pp\
P!RR7wr�V	P\\V44WgRRR7p
V	P\\V444V	PV^R	7V	PR
4V	PR4V	P4\W�4FOwr�V	P!V^,VP#4VP%4^,,VR2R
^R7KQ	V	P'R\(RRRR7V	P'R\*RRRR7V	P-RR	7VP/4\1V^RW4R#uupiuupiuupi)�fig15_memory�modulesr�bytes�totalrRrrbr�r�zStack bytes (W=10, K=4, M=8)u�Fig. 15 — Memory Footprint: no_std / no_alloc / zero-unsafe
All structures stack-allocated — suitable for Cortex-M4F / RISC-V FPGA softcore� Br�r�ir�r�z4 KB stack budget�r]r�r�rY�r�r
z1 KB referencer��memory_footprintN)r�r�)rhrir�r�rr:r�r�r�r�rr�rurxr�r�r��get_yr�rOrtr�ryrzr@)
r{r*r+�memrkr��sizesrr<r�r�r��szs
&&&          r�
plot_fig15r�s���
�N�
�I�
&�C�#&�
'�3�a��k�k�3�E�
'�
�X�X�3�/�3�a��z�z�3�/�
0�E�RU�
V�RU�Q��1�X�;�#4�#4�#6�6�f�L�H�RU�F�
V��l�l�:�.�G�C�
�7�7�5��U��$�e�&�#��7�D��M�M�%��E�
�#�$����u�q��)��M�M�0�1��L�L�e�f��O�O���t�#���
����Q���	�	��c�n�n�&6��&:�:��$�b�	�h��	�	4�$��J�J�t�;�4�C�?R�J�S��J�J�t�:�3�3�>N�J�O��I�I�s�I��������b�$�g�3��-(��/��
Vs�G7�G<�1Hc���VR,p\P!VR,4p\P!VR,4p\P!VR,4pVR,p\P!^^R-RR7wpwr�V	P	WF\
RRR	7V	P
R
\RRR
R7V	P
R\RRRR7V	PVR
RR\R7V	PVRRR\R7V	P^R4V	PR4V	P^RR7V	PR4R\R\R\/pVUu.uFq�PV\ 4NK	p
p\#V
4Fwr�V
P%^^VRVRR7K	V
P'.4V
P)R4V
PR4V
P+^\-V44\.P0!\RR7p\.P0!\RR7p\.P0!\RR7pV
PVVV.^^R R!7R.R/R0R"^P\-V433F9wpppV	P3VV,^,R#VR$R%R&\5R'R(RR)7R*7K;	VP74\9V^R+W4R,#uupi)1�fig16_complexityr$�entropy�
complexityrITr�r�zNormalised complexity H/H_maxr�rgr�r
uLow → Transitional (0.30)r�rbuTransitional → High (0.70)rFrGr�zComplexity scorerar�u�Fig. 16 — MDL/Kolmogorov Complexity (Shannon Entropy Estimator)
Rising complexity = nominal model losing descriptive power = Boundary approaching�
LowComplexity�TransitionalComplexity�HighComplexityr�r�r��Regimer�r�rrfr�r�r�rz
round,pad=0.1rhrirj�complexity_entropy_regimeNr�)zNominal
(low H)r�r�)zDrift onset
(rising H)r��<)zHigh
complexityr��P)rhrir:r�r�r�r�r�rtrPr�rvryrxr�getr#r�r�rrurr�rrr�r6rzr@)r{r*r+�csr$�ent�comprIr<r	r
�
regime_mapr~�
reg_colorsr�rV�patch_L�patch_T�patch_HrYrwrxs&&&                   r�
plot_fig16r�1s���	
��	�B�
�X�X�b��g�
�A�
�X�X�b��m�
$�C�
�X�X�b��&�
'�D�
��\�F��l�l�1�a��D�I�O�C��#��H�H�Q�F�s�2Q�H�R��K�K��J�4�C�?\�K�]��K�K��K�D�S�@^�K�_����Q��d�$�j��A����Q��d�$�k��B��L�L��D���N�N�%�&��J�J��|�J�,��M�M�f�g�"�<�*�J�"�K�1�J�9?�?��1�.�.��I�.��J�?��*�%�������A�A�c��f��E�&��N�N�2���N�N�?�#��N�N�8���L�L��C��F���n�n�<��G�G��n�n�:�7O�P�G��n�n�;�7G�H�G��J�J���'�2�Q�Q� ��"�:�B�;� *�B��A��7�9���u�c�	���%�#�+��"�D�%��s�)��O�w�c�R�	�	T�	9�������b�-�w�<��-@s�)Kc���VR,p\P!VR,4p\P!VR,4pVR,p\P!^^R'RR^^./R7wpwr�VP	WER\
RR	R
7VP
R(R4VP.R)O4VP.R*ORR7VPR4VPR4VU
u.uFp
\V
4NK	pp
\V4Fwr�V	P^^VRV
RR7K	V	PRR+R,\RRRR7^R\RRRR7R7V	PRR-R.\R\ RR7^R\RRRR7R7V	P.4V	P#R 4V	PR!4V	P%^\'V44\(P*!\,R"R#7p\(P*!\ RR#7p\(P*!\.R
R#7pV	P1W�V.^^R$7VP34\5V^R%W4R&#uup
i)/�	fig17_fsmr$�
confirmations�committed_stateTr�r�midr�zGrammar severity (0-2))r_r]r�rYg333333@rLrr�r��SeverityuqFig. 17 — Grammar FSM Hysteresis Gate
2 consecutive confirmations required before state transition is committedrbr�r�z)Transient spike
(dismissed by
hysteresis)r%rr
r'r�r2rhri)r)r*r+r�r�rkzConfirmed after
2+ observationsr�zCommitted staterr��r�r�r��grammar_fsm_hysteresisN�r��333333@g���������r�r�r)zAdmiss.rLr)rfr�)r��p=
ף�?)g%@r�)g+@r�)rhrir:r��stepr�r�rr�rvrxr&r�r�r5r6r�rurr�rrrrtryrzr@)r{r*r+�fsmr$�confs�statesr<r	r
rWrr�rVrr
rs&&&              r�
plot_fig17r�ds ��
�{�^�C�
�X�X�c�#�h�
�A�
�X�X�c�/�*�
+�E�
�"�
#�F��l�l�1�a��D�0?�!�Q��/H�J�O�C��#��H�H�Q�U�&�S�@X�H�Y��L�L��s���N�N�9�����<�s��K��N�N�:���M�M�^�_�)/�
/��1�m�A���F�
/��&�!�������A�A�c��f��E�"��L�L�>��� �D�	�c�J����O�w�c�R�	�T�
�L�L�3� �� �D�
�s�K����O�w�c�R�	�T��N�N�2���N�N�?�#��N�N�$�%��L�L��C��F���n�n�<�|�D�G��n�n�:�Z�@�G��n�n�;�k�B�G��J�J��'�2�Q�Q�J�G�������b�*�G�9��30s�+I(c
��VR,pVR,pVR,p\P!VR,4p\P!R"R7wrxVPwr�\V	4F�p\V
4F�pWkV3,p
V
^8Xd\MRp\P!VR,V	^,
V,
R,3RRRVR	R
^R7pVPV4V
^8XdRMR
pTPVR
,V	^,
V,
R
,TRRV
^8Xd^
M^V
^8XdRMRV
^8XdRMRR7K�	K�	TP\V
4Uu.uFq�R
,NK
	up4VPV^R7TP\V	4Uu.uFq�^,
V,
R
,NK	up4VPV^R7VP^V
4VP!^V	4VP#R4VP%RRR7VP&P)4FpVP+R4K	\P,!\RR7p\P,!RR	RR7pVP/VV.RRR7VP14\3V^R W4R!#uupiuupi)#�fig18_standards�	standards�aspects�coveragerR�#f0f0f0rr�zround,pad=0.03r�rrr
�·r�rhrr�r�rr�Fu�Fig. 18 — Standards Alignment Coverage Matrix
ITU-R SM.1048-5 · MIL-STD-461G · 3GPP TS 36.141 · VITA 49.2 · SigMF · GUM · SOSA/MORArr�z+ Covered (clause-depth)r�u· Not applicablerr�r�r�standards_alignmentNr)rhrir:r�rr�rrr3r4r�r�r�rr�rr�r�rxrr�rrryrzr@)r{r*r+�sm�stdsr��covr<r��n_std�n_aspr�r#r%r:r�r$r'�patch_c�patch_ns&&&                 r�
plot_fig18r��sc��	
��	�B���o�D���m�G��h�h�r�*�~�&�C��l�l�:�.�G�C��9�9�L�E�
�5�\���u��A��q�D�	�A�"#�q�&�,�i�C��*�*��T��5�1�9�q�=�4�/�0�$��)����a�	)�D�

�L�L����a��#�T�C��G�G�A��G�U�Q�Y��]�S�0�#��H�#$��6�R�q�%&�!�V�'��)*�a��v�X�	
�
?���"�M�M�E�%�L�1�L�q�s�7�7�L�1�2����w���+��M�M��e��=��1�1�9�q�=�3�&�&��=�>����t�a��(��K�K��5���K�K��5���G�G�E�N��L�L�o�������!�!�#��
���C� �$��n�n�<�7Q�R�G��n�n�y�I�M`�a�G��I�I�w��(�m�c�I�J�������b�'��6��%2��=s�J>� Kc��VR,pVR,p\P!R9R7wrVVPR4VPR^	R7\	V4pRpRp	WxV	,,p
RV
,
^,p\V4EF�wr�RV,
V^,W�,,,
pRpR	p\P!W�3TTR
V
R,RR
RV
R,9dRM^,VPRR7	pVPV4VPVR,W�^,,V
R,VPRR^RRR7	RPV
R,4pVPVV,R,
W�^,,VVPRRRRR7W�^,
8gEK,RpW�^,,
pRV
R,9d
Rp\pMR pR!pVPR VVV	R",,
3VVV	R#,,3R$\R%VR&R'7RR(7V'gEK�VPVR),VV	R*,,VVP^VRR\R+R,R-R.7R/7	EK�	VPRR)R0VPRR1^R2R\R3R4R5R.7R67
VP4\!V^R7W4R8#):�fig19_architecture�layersrRrusFig. 19 — DSFB-RF Non-Intrusive Architecture
Read-only tap via immutable  &[f32]  — upstream receiver UNCHANGEDr�r]rr��q=
ףp�?zround,pad=0.01r]rr&r�r)rF)rrr�r�r�r�r�r�r�r��#111111)r�r�r�r�r�r]u  ·  r�r0r�r)r�r�r�r�r]u3immutable &[f32] tap
(read-only · zero write path)r$r�r[rbz
axes fractionz->,head_width=0.20r�r')r)r*�xycoordsr+�annotation_clipr�rgrgrhrari)r�r�r]r�r�rkulIf DSFB is removed: upstream receiver behavior is UNCHANGED · Zero calibration · Zero restart · Zero riskr�r!r2z#fffde7r�)r�r�r�r�r"r]rk�architecture_integrationNr�)r:r�r�rxr�r�rr3r�r4r��joinrr5r6rzr@)r{r*r+�archr�r<r��n_layers�layer_h�	layer_gap�total_h�start_yr��layerr�rNr8r��mod_str�arrow_x�arrow_yrYr:s&&&                    r�
plot_fig19r��s���
�#�
$�D�
�(�^�F��l�l�:�.�G�C��G�G�E�N��L�L�X�����6�{�H��G��I��Y�.�/�G��g�
��"�G��f�%����'�M�Q��U�w�':�;�;�������&�&��v�q�'�%��G�n�	��F�e�F�m�$;�S��C��l�l�E�	3��
	���T��
����D��!��k�/�5��=��,�,�8���v�Y�	�	@��-�-��i� 0�1��
����A����a�A�+�o�w��,�,�8���I�	�	/�
�!�|���G��a�-�'�G���v��&�N��$����!���K�K����9�s�?�)B�C� '��9�s�?�)B�C�!0�#'�3G�.1�c�$;�(-�
�
/��u�����$���)�c�/�(A�5�"$�,�,��#�!�h�!�+;�,3�4�A��B�I&�T�G�G�D�$�
<��l�l�x�H�q��i���)�3�O��Q�������b�,�g�;rc���VR,p\P!VR,4p\P!VR,4pVR,pVR,pVR,pR\RRR	\R
\/p	R^R^R	^R
^/p
\
P!^^R+RR.R,O/R
7wpwr�pVPWE\RRR7VPV\RRRV2R7VPWEW�V8�\RR7VPR4VPRR7VPR4\V4F&wppV
P^^VR\!V4RR7K(	V
P#.4V
PR4V
P%^\'V44VUu.uFpV
P)V^4NK	ppVUu.uFpV	P)V\*4NK	pp\\-VV44F wpwppVP^^VRVRR7K"	Rp\V4F=wppVV8wd/VR8wd(VP/VR ,R V^,R!R!^R"R#R$7TpK?	VP#.4VP1R%4VPR&4VP%^\'V44\2P4!\RR'7\2P4!RRR'7\2P4!\R	R'7\2P4!\R
R'7.pVPV^^R(R)7VP74\9V^R*W4R#uupiuupi)-�fig20_policyr$rr�policyr��Silent�Watchr0�Review�EscalateTr�rrzDSA(k)r�r�r�uτ = r�r�rrr�r�uFig. 20 — Policy Escalation Logic
Silent → Watch → Review → Escalate (persistence K=4 + DSA ≥ τ + corroboration m=1)rbr�r�r�Nrr�rhr�rr��Policyr�r�r�policy_escalation_logic)r�rf)�r�r�)rhrirr�rtr:r�r�r�r�rPrvryrxr�r�r&rrr�r�r#r�r�rurrrzr@)r{r*r+�plr$rrr�r��POLICY_COLOR�POLICY_LEVELr<r	r
�ax3r�r�r}�
pol_levels�
pol_colors�lv�pc�prev�legend_elemss&&&                     r�
plot_fig20r�s��	
�>�	�B��h�h�r�#�w��A��h�h�r�%�y�!�C���m�G���l�F���i�C�	�L��I��J��K�	�L��a��!�X�q�*�a�H�L��<�<��1�j��6E�y�5Q�S��C��#�C��H�H�Q�6�c��H�:��K�K��;�4�C��s�e�}�K�M����Q�S���&�d��4��N�N�;���J�J��J���M�M�G�H��'�"���1�����A�A�c��q�1A�V��T�#��N�N�2���N�N�9���L�L��C��F��28�9�&�Q�,�"�"�1�a�(�&�J�9�:@�A�&�Q�,�"�"�1�i�0�&�J�A� ��Z��!<�=���8�B������A�A�c��v��F�>��D��&�!���1���9��h���H�H�Q��W�c�1�Q�4�H���w�6�
�
C���	"��N�N�2���N�N�?�#��N�N�8���L�L��C��F��	���\��:����Y��9����Z��:����[��<�	�L��J�J�|�a�a�]�J�K�������b�+�W�:��5:��As� M�Mc
��VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p	\P!VR,4p
VR,pVR	,p\P!^^R-R
R.R.O/R7wp
wr�pVP	WE\
R
RR7VP	WF\R
RR7VP	WG\R
RR7VPR\RRRR7VP^R4VPRVR24VPR^R7VPR4VP	WH\
RRRR7VP	WI\RRRR7VP	WJ\RRR R7VP^R4VPR!4VPR^R7\V4F&wppVP^^VR\!V4R"R#7K(	VP#.4VP%R$4VPR%4VP'^\)V44\*P,!\
R&R'7p\*P,!\R(R'7p\*P,!\R)R'7pVPVVV.R^R*7V
P/4\1V
^R+W4R,#)/�fig21_perm_entropyr$�pe_wss�pe_periodic�pe_drifting�sh_wss�sh_periodic�sh_drifting�regime_periodic�window_wTr�rr�uPE — WSS noiser�uPE — periodic toneuPE — drifting carrierrbr
r��PE threshold (0.70)r�r�z
Norm. PE  (W=r�r�r�ueFig. 21 — Permutation Entropy vs. Shannon Entropy
IQEngine ORACLE USRP B200 · m=3 ordinal patternsr&uShannon H — WSSuShannon H — periodicuShannon H — driftingzNorm. Shannon Hr�r��Window index kr�zLow PE (ordered)r�rLzHigh PE (random)r��perm_entropy_comparisonN)�@�������@�rrr�)rhrir:r�r�rr�rtr�r�r�rvryrxr�r�r&rrurr�rrrzr@)r{r*r+�per$r�r�r�r�r�r��
regime_per�Wr<r	r
r�r�r�rr
rs&&&                   r�
plot_fig21rRs���	
��	 �B��(�(�2�c�7�#�A��(�(�2�h�<�(�F��(�(�2�m�,�-�K��(�(�2�m�,�-�K��(�(�2�h�<�(�F��(�(�2�m�,�-�K��(�(�2�m�,�-�K��&�'�J��Z�.�A��<�<��1�j��6E�y�5Q�S��C��#�C��H�H�Q�<�C�?Q�H�R��H�H�Q�6�C�?U�H�V��H�H�Q�;�C�?X�H�Y��K�K��J�3�4�?T�K�U��L�L��D���N�N�]�1�#�Q�'�(��J�J��!�J�$��M�M�F�G��H�H�Q�<�C�D�H[�H�\��H�H�Q�6�C�D�H`�H�a��H�H�Q�;�C�D�H`�H�a��L�L��D���N�N�$�%��J�J��!�J�$��*�%���1�����A�A�c��q�1A�V��T�&��N�N�2���N�N�#�$��N�N�8���L�L��C��F���n�n�<�7I�J�G��n�n�:�z�B�G��n�n�;�7I�J�G��J�J���'�2�S�q�J�I�������b�+�W�:rc���VR,pVR,p\V4p\P!^VR3R^^./R7wrg\V4EF�wr�\P
!V	R,4p
\P!\V
44pV	R,'d\M\pV^V3,p
V^V3,pV
PW�VRR7R\V	R	,4R

RV	R,'dRMR
2pV
PRRW�PRRRRV\RRRR7R7
V
PV	R,PRR^4RR7T
P!V^8XdRMR4V	R	,p\V4R8�d\M\pVP#R.\V4.VR R!R"7VP%R\&R#R$R%7VP%R&\R'R(R%7VP)^\+R)\V4R,44VP-R*R+7TP!V^8XdR,MR4EK�	VP/R-R.RR/7VP1.R4OR07\3V^R1W4R2#)5�	fig22_rat�windowsr�r~r,�	has_trendr&r.z|Z|=�z_scorer��
�TREND�WSS���Q��?���(\���?r0r1r�r�r2rhrarir3r)� r�r_r$g\���(\�?�Zrrr7r
r�r8g��S㥛@rbr�rJr�r:z|Z|u�Fig. 22 — Reverse Arrangements Test: Monotonic Trend Detection
NIST POWDER-RENEW calibration windows · |Z|>1.96 → trend (95%CI) · |Z|>2.576 → strict (99%)rr�r��rat_trend_detectionN)g @�������@r�)r�r:r�r�rhrir�rtrr�rAr�r�r6rxr�rvr�r�r�r�r�rCr�rzr@)r{r*r+�ratrr�r<r�r#r8r,r$r:�ax_top�ax_botrJ�z�bar_cols&&&               r�
plot_fig22r�s7��
�K�.�C��)�n�G��G��A����Q��:�+:�Q��F�*C�E�I�C��'�"�������7��$���	�	�#�e�*�%�� ��~�~��<���a��d����a��d������A�C�C��0���Q�y�\�*�3�/�r�Q�{�^�^�'�QV�1W�X�����D�$��3C�3C��5�3�6�QT���'�QU�V�	�	X�	����6��*�*�3��a�8�3��G����!�q�&�,�b�9�
�i�L��!$�Q��$��+�L���
�
�C�5�3�q�6�(�'�Y�3�
�O����t�:�#�$��?����u�K�C�C��@�����3�s�C��F�S�L�1�2����S��)����1��6�%�r�2�/#�2�L�L�u��&��2����/��*���b�'��6rc�.�VR,pVR,p\P!VUu.uFqUR,NK
	up4p\P!VUu.uFqUR,NK
	up4p\P!VUu.uFqUR,NK
	up4pVUu.uFqUR,NK
	p	pVR,p
VR,p\P!^^R'RR	7wpwr�V
P	Wg\
R
RR7V
P
V
\R
RRV
R
2R7V
PWgV
Wz8�\RRR7V
PWgV
Wz8*\RRR7V
PR4V
P^^R7V
PRVRV
R
24TPYh\P!V4P4R,VUu.uFq�^8�d\M\NK	upRRR7VP
^RRR7VPR4VP!R 4\#Wi4F.wppV'gKVP%R!V^3R(R"R#^	\R$7K0	VP'4\)V^R%W4R&#uupiuupiuupiuupiuupi))�fig23_crlb_sweeprC�snr_db�	rho_floor�margin�alert�rho_testrTTr���?u
ρ_CRLB floorr�r&r�u
ρ_test = rzr�r�uCRLB violates ρ_testr^r[uCRLB safely below ρ_testr�u?Fig. 23 — CRLB Envelope Floor vs. SNR
NIST POWDER-RENEW · N=u obs · ρ_test=r
rr)�widthr]r�r�r.uMargin (ρ_test − ρ_floor)r��!r\r�)r*r]r�r�r]�crlb_snr_sweepN�r�rn)r�i����)rhrir:r�r�r�r�rtrPrrvryrxr��diff�meanrur�r5rzr@)r{r*r+r�r|r}r�rr�alertsrrTr<r	r
rk�snr_v�als&&&               r�
plot_fig23r)�ss��
��
�B�
�X�,�C�
�8�8��5��A�x�[�[��5�6�C����C�8�C�q�K�.�.�C�8�9�I����C�8�C�q�H�+�+�C�8�9�F�%(�)�S��7���S�F�)��:��H��7��E��l�l�1�a��D�I�O�C��#��H�H�S�6�c��H�I��K�K�����"�8�C�.�1��3����S�X�%�0�&�d�:Q��S����S�X�%�1�'�t�;V��X��N�N�?�#��J�J���J�"��M�M�,�,1�7�2B�8�C�.�R�S��G�G�C�r�w�w�s�|�0�0�2�S�8�CI�J�6�a�q�5�<�k�9�6�J��3��0��K�K���s�K�+��N�N�2�3��N�N�:����%�	��r�
�2��L�L��u�a�j��$3��"#�;�
�
8�&�������b�"�G�1��O6��8��8��)��,Ks�I>�J�?J�J
�Jc
���VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4pVR,p	VR,p
\P!^^R-R7wpwr�VP	WER	\
R
^RR7VP	WFR
\R
^RR7VPV	\RRRV	R
2R7VPV
\RRRV
R
2R7VPR4VPR4VPRR7VPR4\P!\P!VR,
44pV
P!WGR	\
R
^RR7V
P!WHR
\R
^RR7V
PRRRR R!R"R#7V
PR4V
PR$4V
PRR7V
PR%4VP#R&R'R(R)7VP%.R.OR*7\'V^R+W4R,#)/�fig24_arrhenius�temperatures_c�
drift_gaas�	drift_gan�af_gaas�af_gan�avar_ocxo_tau1�avar_tcxo_tau1rRrwrzGaAs pHEMT (E_a=1.6 eV)ryzs-zGaN HEMT   (E_a=1.8 eV)r
r�uOCXO σ_y(τ=1) = �.2er�uTCXO σ_y(τ=1) = uJunction temperature (°C)zNormalised drift rate (a.u.)r�r�z/Drift rate vs. T_junction
(Arrhenius E_a model)g9@z
GaAs pHEMT AFzGaN HEMT AFr�rrbr�r�uAF = 1 (25 °C)�r]r�r�rXrYzAcceleration factor AFu)Thermal acceleration factor
(ref. 25 °C)uqFig. 24 — Arrhenius Physics-of-Failure: PA Thermal Drift
Kayali 1999 JPL-96-25 model · GaAs pHEMT vs. GaN HEMTrr�r�r��arrhenius_pa_driftN)rmr�)r�r�r�gףp=
��?)rhrir:r�r~r�rr�r#r�rurvryrxrirAr�r�rzr@)r{r*r+�arr�T�dg�dn�afg�afn�	ocxo_tau1�	tcxo_tau1r<r	r
�	T_ref_idxs&&&            r�
plot_fig24r?�s!���
��C�
�8�8�C�(�)�*�A�
�8�8�C��%�&�B�
�8�8�C��$�%�B�
�8�8�C�	�N�#�C�
�8�8�C��M�"�C��$�%�I��$�%�I��l�l�1�a��<�O�C��#��L�L���F�S�Q�F_�L�`��L�L���L�c�a�G`�L�a��K�K�	����FX�Yb�cf�Xg�Dh�K�i��K�K�	����FX�Yb�cf�Xg�Dh�K�i��N�N�/�0��N�N�1�2��J�J��J���M�M�D�E��	�	�"�&�&��T��*�+�I��H�H�Q�T����/�H�R��H�H�Q�T��#�!�=�H�Q��K�K��9���S�HY�K�Z��N�N�/�0��N�N�+�,��J�J��J���M�M�>�?��L�L�J��&��2����/��*���b�&��5rc
�x�VR,pVR,pVR,p\V4p\P!^VRV,R3R7wrxV^8XdV.p\\\
.p	\
W�V	4EF	wr�p\P!VR,4p
\P!VR,4pV
PW�^RVR	R
7V
PRVR2^R
7V
PR^R
7VR,PR4R#,pV
PVR,RVR,R
RV2RR
7V
P\P!V4\P!V
4RR^RR7EK	VP!RVR2RRR7VP#.R$OR 7\%V^R!W4R"#)%�fig25_phase_portraitsr�r+r�r�rR�x_now�	x_delayed皙�����?r��rWrXr]rY�‖r(k-�)‖r�r_�attractor_state�::rY�
D₂≈�d2_estimater�� · r�rNrr�r]ra�mewu Fig. 25 — Phase Portraits (τ=uX): DARPA SC2 / Colosseum
Delay-embedding reconstructs attractor geometry from ‖r(k)‖rr�r�r��phase_portraitsNr/r��r�r:r�rr�rtr�rhrirorurv�splitrxr�r%r�rzr@)r{r*r+�ppr�r+r�r<r��	cmap_listr�rGr:rN�xdrs&&&             r�
plot_fig25rUs���
�#�
$�B�
�U�)�C��;��I��I��A����Q��C�!�G�S�>�:�I�C��A�v��v���v�{�3�I��4�I�6����
�X�X�b��k�
"��
�X�X�b��o�
&��
�
�
�2�A�T���
�H�
�
�
���u�D�)�A�
�6�
�
�
�l�Q�
�/��$�%�+�+�D�1�"�5��
����7��}�I�b��.?��-D�D���P�[^��_�
��������R�W�W�Q�Z��I�!���M�7��L�L�3�C�5�9S�S��&��2����/��*���b�#�W�2rc�
�VR,pVR,p\P!RR7wrV\\\\
\\.p\V4F�wr�\P!V	R,4p
\P!V	R,4pWx\V4,,pVPW�RW�R,RV	R,R	
R
2R7\V
4^,p
V	R,pVPRVR	
2W�,W�,3RR
^VR7K�	VPR4VPR4VP!^RR7VP#R4VP%4\'V^RW4R#)�fig26_gp_d2rBrR�log_r�log_crr�rYu
  (D₂≈�d2r�r��r�r]rYzslope=r\)r*r]r�r]zlog rzlog C(r)rar�uxFig. 26 — Grassberger-Procaccia Correlation Dimension D₂
IQEngine ORACLE USRP B200 · slope = D₂ in scaling region�gp_correlation_dimensionN)r�r�)�r�)r:r�rr�rtr��C_COMPARATORr#r�rhrir�r�r5rurvryrxrzr@)r{r*r+�gprBr<r��paletter��cv�lr�lcr:r��slopes&&&            r�
plot_fig26re1sH��	
�=�	�B�
��\�F��l�l�:�.�G�C��V�[�*�l�I�V�G��6�"���
�X�X�b��k�
"��
�X�X�b��l�
#���#�g�,�&�'��
����3�c�w�K�=�
�2�d�8�TW�.�XY�1Z��[��"�g��l���4���
���f�U�3�K�(��W�b�g�&�!�o��c�	�	+�#��M�M�'���M�M�*���I�I�q�l�I�+��L�L�O�P�������b�,�g�;rc�ha
�VR,pVR,o
VR,pVR,p\P!^^RR7wpwrxV
3Rlp	V	!WtRVR,VR,4V	!W�R	VR
,VR,4VPRR
RR7VP.ROR7\	V^RW4R#)�fig27_tda_persistence�radius_used�events_noise�events_clusterrRc�<�\P!VUu.uFqUR,NK
	up4p\P!VUu.uFqUR,NK
	up4pWv,
pVPWg^\RRR^R7R\	V4'd0\VP4VP44R,MRr�VP
W�.W�.R	R
RR7VPR
4VPR4VPVRVRVR
24VPRRRSR
2VPRR\R7R#uupiuupi)�birth�death��?rr)rWr]rXrYrZr^r[r�r�rrbr�r8zBirth radiuszDeath radiusu
β₀=u
 · innov=r�rrzr_used=r0r�)r�r�r�r]N)
rhriror�r�r�r�rurvrxr�r�r#)r��events�title�betti0�innovr��births�deaths�pers�lo�hir~s&&&&&      �r�_plot_pd�plot_fig27.<locals>._plot_pdZs������v�6�v�!�W�:�:�v�6�7�����v�6�v�!�W�:�:�v�6�7�����
�
�
�6�R�v�T�'�C��	�	C���F���c�&�*�*�,��
�
��5��<�QT�B�
�����2�(�)����E�
�
�
�n�%�
�
�
�n�%�
����w�h�v�h�j��s��D�E�
����d�g�a��W�-�����S�	�	�	;��7��6s�E�EuWSS noise (H₀ persistence)�betti0_noise�innovation_noiseu)2-cluster jammer onset (H₀ persistence)�betti0_cluster�innovation_clusteruqFig. 27 — TDA Vietoris-Rips Persistence Diagram (H₀)
NIST POWDER-RENEW · birth/death of connected componentsrr�r�r��tda_persistence_diagramN)g333333@r�r�)r:r�r�rzr@)r{r*r+�tda�en�ecr<r	r
rxr~s&&&       @r�
plot_fig27r�Rs����
�#�
$�C�

�m�
�A�

�n�
�B�

��
�B��l�l�1�a��<�O�C��#�
;�
�S�4�
��
 �#�&8�"9�;��S�A�
�!�
"�C�(<�$=�?��L�L�L��&��2����/��*���b�+�W�:rc�*�VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4pVR,p\P!R R7wr�V
P	WE\
RRR	7V
P	WF\RR
R	7V
P	WG\RRR	7V
PR4V
PR
4V
PR4V
PRR7V
PRVR24V
PRRRV
PRRRR\RRRR7R7	V	P!4\#V	^RW4R#)!�fig28_betti0_sweep�radii�
betti0_wgn�betti0_fhss�
betti0_jammer�n_pointsrRrzWGN (uniform cluster)r�zFHSS interferencezJammer onset (2-cluster)zFiltration radius ruβ₀ (connected components)�logr�r�uDFig. 28 — Betti₀ vs. Filtration Radius
DARPA SC2 Colosseum · N=z points per classr�u\Plateau height reflects cluster structure;
jammer class shows later merging → larger β₀r0r1r�rr2rhr
ri�r�r�r�r�r]rk�betti0_sweepNr�)rhrir:r�r�rr�rtrurv�
set_yscaleryrxr�r�r6rzr@)r{r*r+�bsr��b0_wgn�b0_fhss�b0_jam�n_ptsr<r�s&&&        r�
plot_fig28r�ysX��	
��	 �B��h�h�r�'�{�#�E��h�h�r�,�'�(�F��h�h�r�-�(�)�G��h�h�r�/�*�+�F���n�E��l�l�:�.�G�C��G�G�E�,�3�>U�G�V��G�G�E�&�3�>Q�G�R��G�G�E�+�3�>X�G�Y��M�M�'�(��M�M�0�1��M�M�%���I�I�s�I���L�L�-�-2�G�3D�F�G��G�G�D�$�
@��l�l�w�5��	���'��M��O�������b�.�'�/rc
�L�VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4pVR,pVR,p	\P!^^R'RR.R(O/R	7wp
wr�p
VP	WE\
R
RR7VP
V	\R
RRV	R2R7VPR4VP^R7VPR4VPV^VP\4R\RRR7VP^^.4VP!RR.^R7VPR4V
P	WG\"RRR7V
P%V\&RRR VR!
R"2R7V
P)^^d4V
PR#4V
P+R$4V
P^R7V
P-4\/V
^R%W4R&#))�fig29_pragmatic_gater$r��
emit_flags�cumulative_efficiency_pct�admissible_efficiency_pct�state_change_kTr�rr�zPE entropy H(k)r�r�r�zState-change emit (k=r�r��Entropyr�uqFig. 29 — Pragmatic Gate: SOSA Event-Centric Efficiency
DARPA SC2 Colosseum · gate emits only at state changesr���������?�Emit�r�r]rXrY�suppress�emit�GaterzCumulative suppression %r
r�zAdmissible-phase avg = r�r�zSuppress. %r��pragmatic_gate_efficiencyN�r��333333@)rr�r)rhrir:r�r�r�rOrtrvryrxrP�astyperjr�rr�rr�r#r�rurzr@)r{r*r+�pgr$r��emits�cumeff�eff_adm�sc_kr<r	r
r�s&&&           r�
plot_fig29r��s���	
�!�	"�B�
�X�X�b��g�
�A�
�X�X�b��m�
$�C�
�X�X�b��&�
'�E�
�X�X�b�4�5�
6�F��,�-�G��!�"�D��<�<��1�j��6E�y�5Q�S��C��#�C��H�H�Q�6�c�1B�H�C��K�K��K�C�D�-�d�V�1�5��7��N�N�9���J�J��J���M�M�L�M����Q��5�<�<��.��z��V��M��N�N�A�q�6������V�,�q��9��N�N�6���H�H�Q�l�s�:T�H�U��K�K��y�S�S�/���}�A�>��@��L�L��C���N�N�=�!��N�N�?�#��J�J��J��������b�-�w�<rc
��VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p	VR,p
\P!^^R/R7wpwr�VP	V\P
!V4\R	R
R7VP	V\P
!V4\R	RR7VP	V\P
!V4\R	R
R7VP	V\P
!V4\RRRR7VPR4VPR4VP^R7VPR4.R0Op\V4p\P !RR\3V
R3R\3.4pV
P#V	RRVRR7pV
P%\'V44V
P)\'V44V
P+V^R7V
P-V^R7\'V4FJp\'V4F8pT
P/TTV	VV3,R
RR^V	VV3,R8dRMR R!7K:	KL	VP1VV
R"R#R$7P3R%V
R
R&2^R7V
PR'V
R
R&24VP5R(R)R*R+7VP7.R1OR,7\9V^R-W4R.#)2�fig30_dna_fingerprints�taus�	avar_ocxo�	avar_tcxo�	avar_mems�avar_spoofed�
sim_matrix�auth_thresholdrRr��OCXOr��TCXO�MEMSrr�zSpoofed (simulated clone)r��Averaging time τ (samples)�Allan deviation σ_y(τ)r�z-ADEV fingerprints
(IQEngine hardware classes)�simr[r�r�r�)r�r�rSr�r�r�r�rhr�r�r�rr�uCosine similarity (auth τ=r�z"Similarity matrix
(auth threshold=upFig. 30 — Hardware DNA: Allan Variance Fingerprinting
IQEngine RTL-SDR → USRP X310 · OCXO/TCXO/MEMS/Spoofedrr�r�r��dna_fingerprintsN�r�r�)r�r�r��Spoofedr�)rhrir:r��loglog�sqrtrr�rtr�rurvryrxr�rr�r�r�r�rr�r�r�r�r�r�rzr@)r{r*r+�dnar�r�r�r��
avar_spoof�sim_mat�auth_thrr<r	r
�	labels_hwr��cmap_simr�r�r#s&&&                 r�
plot_fig30r��s���
�$�
%�C��(�(�3�v�;�'�D��(�(�3�{�+�,�I��(�(�3�{�+�,�I��(�(�3�{�+�,�I��(�(�3�~�.�/�J��(�(�3�|�,�-�G��&�'�H��l�l�1�a��<�O�C��#��J�J�t�R�W�W�Y�'���F�J�S��J�J�t�R�W�W�Y�'���F�J�S��J�J�t�R�W�W�Y�'���F�J�S��J�J�t�R�W�W�Z�(����0��2��N�N�0�1��N�N�-�.��J�J��J���M�M�B�C�4�I��I��A�&�0�0�
��k�"�X�y�$9�C��;N�O�Q�H�	���G�#�C�h�v��	N�B��N�N�5��8���N�N�5��8�����	�A��.����	�A��.�
�1�X���q��A��H�H�Q��g�a��d�m�C�0�h�8��'�!�Q�$�-�#�2E�w�9�
�
V����L�L���e��L�6�@�@�
%�h�s�^�1�5��A�C��M�M�7���~�Q�G�H��L�L�L��&��2����/��*���b�$�g�3rc�
�VR,pVR,pVR,pVR,p\P!R%R7wrx\\\.p	\WI4Fzwr�\P!V
R,4p\P!V
R,4p
VPW�RVR^R	V
R
,R
R2R
7VPW�VW�8VRR7K|	VPVRRRRVR
2R7VPRRRRR7VPR4VPR4VPR4VPRR7VPR VR!
R"VR
24VP!4\#V^R#W4R$#)&�fig31_crlb_marginrBr�alert_thresholdrR�n_vals�marginsrwr�zSNR = rz+.0fz dBryrFrrr�r�zAlert threshold = r�r�r[r�r�r�r8r�z#N (calibration window observations)u#Margin  (ρ_test − ρ_CRLB floor)r�r�uSFig. 31 — CRLB Margin vs. Calibration Window Size N
NIST POWDER-RENEW · ρ_test=rzu · alert if margin < �crlb_margin_vs_nN)r�r�)r:r�rr�rtr�rhrir�rPr��
set_xscalerurvryrxrzr@)r{r*r+rrBr�	alert_thrr<r�r`rar:r�r�s&&&           r�
plot_fig31r��s���	
��	�B��8��F��:��H��$�%�I��l�l�:�.�G�C��V�[�1�G��v�'����(�(�2�h�<�(���(�(�2�i�=�)��
�����S�S�Q��r�(�|�D�1��5�	�	7�	�����&�2�!��	�	/�
(��J�J�y�	�c�d�)�)�C��9��;��J�J�s�)���J�4��M�M�%���M�M�7�8��M�M�7�8��I�I�s�I���L�L�1�19�#��>T�U^�_b�Tc�e�f�������b�$�g�3rc���VR,pVR,pVR,p\V4p\P!V^RRV,3RR7wrxV^8XdV.p\\\
.p	\
W�V	4EFHwr�p\P!VR,4p
\P!VR,4p\P!VR	,4pVR
,pV
P4pVPW�RR^R
7VPR^RR7VPRRRR7V
PW�VR^RVR,R
R2R7V
PVR,VRRRR7V
PR4V
PR4V
P^R R!7V
P!VR",R#VR2^R$7EKK	VP#R%R&R'R(7VP%.R,OR)7\'V^ R*W4R+#)-�fig32_koopman_proxyr+r�r�r-Fr�r$�vm_ratior,�attractor_statesr�r�)r]r�r^r_z#999999r^r�r�)r�r;rr�zVM ratio  (mean=�mean_vmrzr��r]r�r^rYrbr�r�rEzVM ratio (Koopman proxy)�Window indexrar�rYz  (W=r�u�Fig. 32 — Koopman-Mode Proxy: VM Ratio × 3 SC2 Modes
DARPA SC2 Colosseum · VM = var(delayed)/var(norms) → attractor structurerr�r�r��koopman_vm_ratioN)r�r�r�r�)r�r:r�rr�rtr�rhri�twinxr�rvrCr�ruryrxr�rzr@)r{r*r+�kdr+rr�r<r�r`r�rGr:r$�vmr,r�r
s&&&               r�
plot_fig32r�s���	
� �	!�B��;��I��:��A��I��A����Q��C��q��>�%�H�I�C��A�v��v���V�[�1�G��4�G�4�����(�(�2�c�7�#���(�(�2�j�>�*���(�(�2�g�;�'���'�(���h�h�j�������s�1��=����|�a�y��A����S�C�	��B�
����S�S��(��I��s�(;�1�=�	�	?�
�
�
�2�i�=����C�
�H�
�
�
�0�1�
�
�
�n�%�
�	�	�1�,�	�/�
����7��}�E�!��A�.���;�#5�&�L�L�_��&��2����/��*���b�$�g�3rc�\�VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4pVR,pVR,p	\P!VR,4p
\P!^^R7RR	.R8O/R
7wpwr�pVP	WE\
RRR
7VP	WF\RRRR7VPR4VPRR7VPR4V
PWG\RRR
7V
PV\RRRVR
2R7V
PR4V
P^R7V
PRRV	^d,R
R2V
PR R!R\R"\!R#R$R%R&7R'7
VP#V^V
P%\&4R(\R)R*R+7VP#WJP%\&4^R(\R,R-R+7VP)^^.4VP+R.R/.^R7VP-R04VPR14VPR2^R3R47VP/4\1V^!R5W4R6#)9�fig33_bit_exactnessr$�	norms_f32�	norms_q16�
abs_errors�bound�pct_below_bound�
grammar_agreeTr�rr�zf32 pathr�r�r�zQ16.16 pathr�r_r�r�upFig. 33 — Bit-Exactness: f32 vs. Q16.16 Fixed-Point
IQEngine ORACLE USRP B200 · compiler-enforced determinismr&z|error|r�uBound 2⁻¹⁴ = r3u|f32 − Q16.16|r�r[r�z% samples below boundr0r1r�r2rhrari)r�r�r�r�r]r�rkr�rb�Agreer�r��Disagree�disagree�agreer�r�r�r��r�r�rc�bit_exactness_q16Nr�r�)rhrir:r�r�r�rtrvryrxr~r�r�r�r�rr6rPr�rjrr�rurzr@)r{r*r+�ber$�nf�nq�errr��pct_okr�r<r	r
r�s&&&            r�
plot_fig33r�Gs^��	
� �	!�B�����C��!�A�����K��)�B�����K��)�B�����L�)�*�C��7��E��$�%�F�����O�,�-�E��<�<��1�j��6E�y�5Q�S��C��#�C��H�H�Q�&�3�j�H�A��H�H�Q�+�3�4�}�H�M��N�N�<� ��J�J��J���M�M�O�P��L�L��z�c��L�C��K�K��[�S�T�*�5��+�6��8��N�N�%�&��J�J��J���H�H�T�4�F�3�J�s�+�+@�A��}�}��U�S��F���7�$�O�
�Q����Q��5�<�<��.�U�'�s�'��C����Q���U�+�Q�U�&�c���E��N�N�A�q�6������W�-���:��N�N�?�#��N�N�9���J�J��!��J�7�������b�%�w�4rc
�j�VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p\P!RR7wr�V	P	V\P
!V4\RRR7V	P	V\P
!V4\RR	R7V	P	V\P
!V4\RR
R7V\V4^,,p
V	PRV^,\P
!V^,43V^,R,\P
!V^,4^,3R
\\RR\R7R7V	PR4V	PR4V	PRRR7V	PR4V	P!RRRR7VP#4\%V^"RW4R#)�fig34_allan_deviationr�r�r�r�rRrzOCXO (Oven-Controlled)r�zTCXO (Temp-Compensated)zMEMS (low-cost)uWhite FM
(slope −½)rr�r%rb)r(r�r])r)r*r�r]r+r�r�r�rcr�u�Fig. 34 — Allan Deviation: Oscillator Class Discrimination
IQEngine hardware characterisation · OCXO / TCXO / MEMS noise floorsT�bothrg)�whichrX�allan_deviation_classesN)�@r�)rhrir:r�r�r�rr�rtr�r5r6rurvryrxr�rzr@)r{r*r+�adr�r�r�r�r<r��t_mids&&&        r�
plot_fig34r�zs���	
�"�	#�B����"�V�*�%�D����"�[�/�*�I����"�[�/�*�I����"�[�/�*�I��l�l�:�.�G�C��I�I�d�B�G�G�I�&�l�s�,��.��I�I�d�B�G�G�I�&�f�s�-��/��I�I�d�B�G�G�I�&�k�s�%��'�
��T��a�� �E��K�K�)�t�A�w����	�!��8M�.N��Q��#�
�r�w�w�y��|�'<�q�'@�A��L��4�C�|�L��N�
�M�M�/�0��M�M�,�-��I�I�s��I�-��L�L�Y�Z��G�G�D��c�G�*�������b�+�W�:rc�:�VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4pVR,p	VR,p
VR,pVR	,p\P!^^R4R
R.R5O/R7wp
wr�pVP	WE\
R
RR7VP	WF\RRR7VPV
\RRRV
R2R7VPR4VP^R7VPR4VP	WG\
R
RR7VP	WH\RRR7VPR\RRRR7Ve"VPV\R!R"R#VR$VR%2R7VP^R&4VPR'4VPR(^R)7\V	4F&wppVP^^VR\!V4R*R+7K(	VP#.4VP%R,4VPR-4VP'^\)V44\*P,!\
R.R/7p\*P,!\R0R/7p\*P,!\R1R/7pVPVVV.R(^R27V
P/4\1V
^#R3W4R #)6�fig35_pe_cyclostationaryr$�	norms_wgn�norms_jammer�pe_wgn�	pe_jammer�
regime_jammer�jammer_onset_k�detection_k�pe_lead_samplesTr�rr&zWGN baseliner�rzCyclostationary jammerr�r�z
Jammer on (k=r�r�r_r�u�Fig. 35 — PE on Cyclostationary Jammer: DARPA SC2 Colosseum
PE detects periodicity reduction before grammar Boundary transitionu
PE — WGNr�u
PE — jammerrbr
r�Nr�r�zPE detect k=z (lead=z samp.)r�zNorm. PEr�r�r�r�r�r�zLow PEr�rLzHigh PEr��pe_cyclostationary)r�r�r�)rhrir:r�r�rrtrOr�rvryrxr�r�r�r�r&rrurr�rrrzr@)r{r*r+r�r$r��	norms_jamr��pe_jam�
regime_jam�onset_k�det_k�leadr<r	r
r�r�r�rr
rs&&&                   r�
plot_fig35r	�s���	
�%�	&�B��(�(�2�c�7�#�A��(�(�2�k�?�+�I��(�(�2�n�-�.�I��(�(�2�h�<�(�F��(�(�2�k�?�+�F��_�%�J��%�&�G��]�#�E��&�'�D��<�<��1�j��6E�y�5Q�S��C��#�C��H�H�Q��#�^�H�L��H�H�Q��#�=U�H�V��K�K��z�c�d�M�RY�QZ�Z[�B\�K�]��N�N�<� ��J�J��J���M�M�X�Y��H�H�Q�l�s�,�H�G��H�H�Q�k�s�/�H�J��K�K��J�3�4�?T�K�U������E����(���w�t�f�G�D�	�	F��L�L��D���N�N�:���J�J��!�J�$��*�%���1�����A�A�c��q�1A�V��T�&��N�N�2���N�N�#�$��N�N�8���L�L��C��F���n�n�<�x�@�G��n�n�:�z�B�G��n�n�;�y�A�G��J�J���'�2�S�q�J�I�������b�&��5rc���VR,p\P!VR,4p\P!VR,4p\P!VR,4p\P!VR,4pVR,pVR,p	\P!^^R(RR^^./R	7wp
wr�VP	WE\
R
RR7VP	WF\R
R
R7VFp
VPV
\RRRR7K	VPR4VPRR7VPR4VPRRRV	R
R2VPRR^R\\RRRR 7R!7
VPWG\R"R#R$7VP!^^d4VPR#4VP#R%4VP^R7V
P%4\'V
^$R&W4R'#))�fig36_backplaner$�naive_cumsum�pragmatic_cumsum�savings_pct�
transition_ks�final_savings_pctTr�rrzNaive (every sample)r�zPragmaticGate (event-centric)rbr�rEzCumulative messagesr�r�usFig. 36 — SOSA Backplane Load: Naive vs. Event-Centric
DARPA SC2 · PragmaticGate emits only at state transitionsr�rzFinal saving: r�r�r0r�r�r2rhrarir3rDz	Savings %r�r��sosa_backplane_savingsNr#)rhrir:r�r�rtrrOr�rvryrxr�r�r6rPr�rurzr@)r{r*r+�bpr$�naive�	pragmaticr�trans_ks�	final_savr<r	r
�tks&&&           r�
plot_fig36r�s���	
��	�B��(�(�2�c�7�#�A��(�(�2�n�-�.�E��(�(�2�0�1�2�I��(�(�2�m�,�-�K��_�%�H��(�)�I��l�l�1�a��D�0?�!�Q��/H�J�O�C��#��H�H�Q��#�=S�H�T��H�H�Q��#�=\�H�]������B�j�S�T���E���N�N�(�)��J�J��J���M�M�O�P��H�H�T�4�>�)�C���:��}�}��X��F�,���7�$�O�
�Q�
���Q�<�t�&��(��L�L��C���N�N�;���N�N�?�#��J�J��J��������b�*�G�9rc���VR,p\P!VR,4p\P!VR,4pVR,pVR,pVR,pVR,p	VR,p
\P!^^R4R7wpwr�VP	V\P
!V4\R	^R
R7VPR4VPR
4VPR4VPRR7\P!V4p\P!V4p\P!RR^4pV
PVV\RR\V4R2R7V
PVV\RR\V4R2R7V
P!VRRRRVR
2R7V
PR4V
PR4V
P^R7V
P#R R R!V	^d,R"
R#V
^d,R"
R$2V
P$R%R&RR'\'R(R)R*R+7R,7	V
PR-4VP)R.R/R'R07VP+.R5OR17\-V^%R2W4R3#)6�fig37_dna_authr��registered_avar�genuine_sims�spoofed_simsr��genuine_pass_rate�spoof_reject_raterRrzRegistered ADEV templater�uτ (samples)uσ_y(τ)z4Registered TCXO template
(IQEngine ORACLE USRP B200)r�r�r[r�rbzGenuine  (n=r�)�binsr]rXrYzSpoofed  (n=rrr�zAuth threshold = r�r�zCosine similarity to templatezTrial countr�zGenuine pass:  r�z%
Spoof reject: r�r0r1r�zround,pad=0.25rhr�ri)r�r�r�r�r�rkz<Authentication distribution
(40 genuine + 40 spoofed trials)u�Fig. 37 — Hardware DNA Authentication: Genuine vs. Spoofed
IQEngine ORACLE · TCXO Grade B registered template · cosine-similarity thresholdrr�r��dna_auth_genuine_spoofNr�r�)rhrir:r�r�r�r�rurvrxryrp�histrr�rtrOr�r�r6r�rzr@)r{r*r+�dar��regrr�thr�gpr�srrr<r	r
�g_arr�s_arrr s&&&              r�
plot_fig37r*�sH��	
��	�B��8�8�B�v�J�'�D��8�8�B�0�1�2�C��n�%�L��n�%�L��&�'�C��)�*�C��)�*�C��l�l�1�a��<�O�C��#��J�J�t�R�W�W�S�\��C��/��1��N�N�>�"��N�N�:���M�M�I�J��J�J��J��
�H�H�\�"�E��H�H�\�"�E��K�K��S�"�%�D��H�H�U��\��!�#�e�*��Q�/�
�1��H�H�U��[��!�#�e�*��Q�/�
�1��K�K��9���)�#�c��3��5��N�N�2�3��N�N�=�!��J�J��J���H�H�T�4��s�3�w�s�m�+<�S��W�S�M��
K��}�}��U��f�� 0�G�4�P�	
�R�
�M�M�Q�R��L�L�f��&��2����/��*���b�*�G�9rc
��VR,pVR,pVR,p\V4p\P!^VRV,R3R7wrxV^8XdV.p\\\
.p	\
W�V	4EFwr�p\P!VR,4p
\P!VR,4pV
PW�^RVR	R
7V
PRVR2^R
7V
PR^R
7VR,PR4R%,pV
PVR,RVR,R,RVR,R
RV2^R
7V
P\P!V4\P!V
4RR^RR7EK	VP!RVR2RR R!7VP#.R&OR"7\%V^'R#W4R$#)'�fig39_multi_attractorr�r+r�r�rRrBrCrDr�rErFrGr�r_rHrIrYr	�dataset_ref�N�NrJrKr�rLrNrrrMu4Fig. 39 — Multi-Mode Attractor Reconstruction (τ=uT)
IQEngine · DARPA SC2 · NIST POWDER-RENEW — three distinct attractor geometriesrr�r�r��multi_attractorNr/)r�r�r�g��Q���?rP)r{r*r+�mar�r+r�r<r�r`r�rGr:rNrTrs&&&             r�
plot_fig39r20s���	
�"�	#�B��5�	�C��;��I��I��A����Q��C�!�G�S�>�:�I�C��A�v��v���V�[�1�G��4�G�4����
�X�X�b��k�
"��
�X�X�b��o�
&��
�
�
�2�A�T���
�H�
�
�
���u�D�)�A�
�6�
�
�
�l�Q�
�/��$�%�+�+�D�1�"�5��
����7��}�B�r�-�'8��'=�&>�?�!�-�0��5�T�%��B�LM�	�	O�
��������R�W�W�Q�Z��I�!���M�5��L�L�G��u�Mf�f��&��2����/��*���b�#�W�2rc��VR,pVR,pVR,p\V4pVUu.uFqwR,NK
	ppVUu.uFqwR,NK
	p	pVUu.uFqwR,NK
	p
pVUu.uFqwR,NK
	pp\V4Uu.uF(p^\P,V,V,NK*	p
pW�R,,
p
W�R,,pW�R,,pW�R,,p\P
!R(\
RR	7R
7wppVP\P^,4VPR)4VPW�\RRR
7VPW�\RR7VPW�\RRRR7VPW�\RR7VPV
V\RRRR7VPV
V\RR7VPV
RR)4VPVRR7VP!^R4VP#.R*O4VP%.R+O^R7VP'RR,RR7VP)R^RR 7VP+RR!VR"R#^R$R%RR&7	VP-4\/V^(R'W4R#uupiuupiuupiuupiuupi)-�fig40_capability_radarr��
provenancerY�
dsfb_score�
typical_score�ml_score:Nr�NT)�polar)rS�
subplot_kwrzDSFB-RF (this work)r�r]�r]rXrr�zTypical SDR monitorr�rFr�zML/DL classifierNr�)�sizer�r�upper right)rcrbr�uQFig. 40 — Capability Radar
(scores relative to axis definitions — see §Eval)r)r�r�r�r�r�r!z#555555)r�r�r�r"r]r��capability_radar)r�r�r/)��?rrnr�)z0.25z0.50z0.75z1.0)g{�G�z�?g�Q����?)r�r��math�pir:r�r6�set_theta_offset�set_theta_directionr�r��fillr#r^r�r�r�rr�ryrxr�rzr@)r{r*r+�cr�	axes_data�provr�r;r��	dsfb_vals�typical_vals�ml_valsr��angles�dsfb_v�	typical_v�ml_vr<r�s&&&                r�
plot_fig40rOQs{���
%�&�B��6�
�I�
�l��D��y�>�A�.7�8�i��W�:�:�i�F�8�.7�8�i��\�?�?�i�I�8�.7�8�i��_�%�%�i�L�8�.7�8�i��Z�=�=�i�G�8�,1��8�
4�8�a�a�$�'�'�k�A�o��!�!�8�F�
4�
�R�j��F��r�]�*�F��"�-�-�I��R�[�(�D��l�l�:�$�T�:J�K�G�C��������!��$����2���G�G�F�V�c�AV�G�W��G�G�F�V��G�>��G�G�F�Y�c�d�J_�G�`��G�G�F�Y��G�>��G�G�F�D�\�c�c�J\�G�]��G�G�F�D�\��G�>��M�M�&��"�+�����v�C��(��K�K��3���M�M�)�*����6�Q��?��I�I�-��s�I�K��L�L�e��#��'��H�H�S�$���h���y��
��������b�$�g�3��O9��8��8��8��5s�J2�J7�J<�0K�.Kc
��^RIHp^RIpVR,pVR,pVR,pVUu.uFq�R,NK
	p	pVUu.uFq�R,NK
	p
pVUu.uFq�R,NK
	ppVUu.uFq�R,NK
	ppVP!R+R	7wr�VP	4pVPW�R
^RR^R
7VPW�R^RR^R
7VPW�R^RR^R
7VP
W�,RRRR^R7VPW�,.W�,.^FR^R7VPW�,.W�,.^FR^R7VPR^
R7VPRR^
R7VPRR^
R7VPR^	R7VPR RR!7VPR RR!7VP^R"4VP^R"4VP4wppVP4wppVPVV,VV,^R#R$7VPR%R&R'VP ^R(RR)7V
P#4\%V
^)R*W4R#uupiuupiuupiuupi),uCFig 41 – rho perturbation sweep: precision & recall vs rho scale.N�fig41_rho_sweep�cells�nominal_idx�	rho_scaler�r��
false_raterR�b-o��������?�	Precision��
markersizer�rYr^�r--sr_zg:^rz
False Rate�grayr�rzNominal (Table IV))r]�	linestyler�rYr^�blue)rWr]r^�redz.$\rho$ scale (relative to $\rho_\mathrm{nom}$)r�zPrecision / False Rate�r]r�u�Fig 41 – $\rho$ Perturbation Sweep $\pm$15\% (Stage III RadioML 2018.01a)
Anchored: 73.6\% prec / 95.1\% recall at $\rho_{\mathrm{nom}}$r��r��
labelcolorr�rcr�r�rz@Model estimates; only $\rho_{\mathrm{nom}}$ (s=1.0) is measured.r0)r�r�r�r]�	rho_sweep)�r})�matplotlib.pyplot�pyplot�numpyr�r�r�rOrorurvrxrCr��get_legend_handles_labelsryr�r�rzr@)r{r*r+r:rh�sweeprR�nom_idxrVr��prec�rec�frater<r	r
�lines1�labels1�lines2�labels2s&&&                 r�
plot_fig41rr�sh��#��
�� �E��'�N�E��M�"�G�&+�,�e��{�^�^�e�C�,�&+�,�e��{�^�^�e�D�,�&+�,�e��x�[�[�e�C�,�&+�,�e��|�_�_�e�E�,��|�|�F�+�H�C�

�)�)�+�C��H�H�S��1��;�WX�H�Y��H�H�S��A��H�XY�H�Z��H�H�S��1��<�XY�H�Z��K�K���F�d�c�*�1��6��K�K�������B�f�a�K�P��K�K�������B�e�a�K�P��N�N�D�r�N�R��N�N�+�6�B�N�G��N�N�8�5�2�N�6��M�M�	O����
�O�O���O�0��O�O���O�/��L�L��C���L�L��C���3�3�5�O�F�G��3�3�5�O�F�G��J�J�v����'� 1�A�<�J�P��H�H�T�4�
Q��}�}�q�W�F�
�L�������b�+�w�,��O
-��,��,��,s�I4�I9�I>�/Jc���^RIHp^RIpVR,pVR,pVR,pVR,p\\	RV444p	\\	RV444p
VP
!\
V	4\
V
434pVF@pV	PVR,4p
V
PVR	,4pVR
,W�V3&KB	VP!R%R7wppVPVRR
RRRR7pVP!VVRR7VP\\
V
444TPV
Uu.uFp\V4NK	up4VP\\
V	444TP!V	Uu.uFp\V4NK	up4VP#R^
R7VP%R^
R7VP'R^	R7Wy9dtW�9dnV	PV4pV
PV4pVP)VP*!VR,
VR,
3^^RRRRR74VP-^RR7VFcpV	PVR,4p
V
PVR	,4pTP/Y�VR
,R
R R ^VR
,R!8dRMR"R#7Ke	VP14\3V^*R$W4R#uupiuupi)&u?Fig 42 – W_pred x W_obs calibration grid heatmap (precision).N�fig42_wpred_gridrR�
nominal_w_obs�nominal_w_predc3�2"�TF
qR,x�K	R#5i)�w_obsNr��r�rVs& rr��plot_fig42.<locals>.<genexpr>�s���8�%�Q�w�Z�Z�%���c3�2"�TF
qR,x�K	R#5i)�w_predNr�rys& rr�rz�s���8�%�Q�x�[�[�%�r{rxr}r�rRr�r��viridisrr��r�r�rSr�r�r��r�rYz,Prediction Horizon $W_{\mathrm{pred}}$ (obs)r�zObservation Window $W$ (obs)u_Fig 42 – $W_{\mathrm{pred}} \times W$ Calibration Grid
(Deferred Table XIV; RadioML 2018.01a)Frhr-�Nominal)rDr�r�rYr=r�r�r�rnr�r��
wpred_grid)r]r})rerfrgrkrl�zerosr�rMr�r�r�r�r�r�rrr�rurvrxr4�	Rectangleryr�rzr@)r{r*r+r:rh�	grid_datarR�	nom_w_obs�
nom_w_pred�
w_obs_vals�w_pred_vals�	prec_gridrVr�r#r<r�r�r%�ni�njs&&&                  r�
plot_fig42r��s���#���$�%�I��g��E��?�+�I��+�,�J���8�%�8�8�9�J���8�%�8�8�9�K����#�j�/�3�{�+;�<�=�I�
�����Q�w�Z�(�����a��k�*���K�.�	�Q�$���
�l�l�6�*�G�C��	���9�V�G�!��#�
�
7�B��L�L���"5�6��M�M�%��K�(�)�*�����4��1��A���4�5��M�M�%��J��(�)����
�3�
�1��A��
�3�4��M�M�A�B�M�O��M�M�0�2�M�>��L�L�	1�;<�����:�#<�
�
�
�i�
(��
�
�
�z�
*��
���S�]�]�B��H�b�3�h�#7��A�(-��-0�	�C�	D�	�	�	�1�-�	�0������Q�w�Z�(�����a��k�*��
�����;���,�(�x��Q�{�^�d�-B�'��	�	Q��������b�,��-��75��3s�K(�K-c
��^RIHp^RIpVR,pVR,pVR,pVR,p\\	RV444p	\\	RV444p
\\	RV444pVP
!^\
V	4R-R	R
7wr�VPR^	R7\W�4EFVwr�VP!\
V4\
V
434pVFap\VR
,V,
4R8gK#VPVR,4pV
PVR,4pVR,VVV3&Kc	VPVRRRRRR7pVP\\
V
444TPV
Uu.uFp\!V4NK	up^R7VP#\\
V444TP%VUu.uFp\!V4NK	up^R7VP'R^	R7VP)RV2^	R7\+V4FIwpp\+V
4F4wppVVV3,pTP-TTVR
RR^VR8dRMRR7K6	KK	Wg,pWh,pVR R!3VR"R#33Fowppp\VR
,V,
4R8gK'VPVR,4pV
PVR,4pVP/VVVV^
RR$R%7Kq	EKY	V
^,P1R&^	R7VP3R'R(R)7VP5.R.O4pVP7XVR*R+7\9V^+R,W4R#uupiuupi)/uIFig 43 – W x K x tau configuration landscape (3 subplots, one per tau).N�fig43_config_gridrRrS�best_idxc3�2"�TF
qR,x�K	R#5i)r�Nr�rys& rr��plot_fig43.<locals>.<genexpr>�s���6��1�E�(�(��r{c3�2"�TF
qR,x�K	R#5i)r8Nr�rys& rr�r������6��1�C�&�&��r{c3�2"�TF
qR,x�K	R#5i)r$Nr�rys& rr�r��r�r{T)rS�shareyu~Fig 43 – $W \times K \times \tau$ Configuration Landscape
(Colour = $F$-score = Precision $\times$ Recall; RadioML 2018.01a)r�r�r�r$r8�f_scorer�r��plasmarr�rz	$W$ (obs)z	$\tau$ = r�r�rbrhr�r��cyanr�yellow�*r
)rXr]rZr`�markeredgewidthz$K$ (threshold)r�r�)r0r=zF-score)�caxrY�config_grid)�
r�)r�r�r�r�)rerfrgrkrlr�r�r�r�r�rArMr�r�r�r�rrr�rurxr�r�r�rvrD�add_axesr�r@)r{r*r+r:rhr�rRrjr��tau_vals�w_vals�k_valsr<r�r�r��fscore_gridrV�ki�wir�r%�k_v�w_v�fs�nom_c�best_c�cellr]rX�cbar_axs&&&                            r�
plot_fig43r��s>��#���%�&�I��g��E���'�G���$�H��c�6��6�6�7�H��c�6��6�6�7�F��c�6��6�6�7�F����Q��H�
�y��N�I�C��L�L�	N�����t�&����h�h��F��S��[�9�:���A��1�U�8�c�>�"�T�)��\�\�!�C�&�)���\�\�!�C�&�)��&'�	�l��B��F�#�	��Y�Y�{�6�'�$�3�S��:��
�
�
�e�C��K�(�)�
���F�3�F�q�C��F�F�3�a��@�
�
�
�e�C��K�(�)�
���F�3�F�q�C��F�F�3�a��@�
�
�
�k�A�
�.�
���z�#��'�!��4�!��(�G�B��$�V�,���C� ��R��(������B�2�c�(��X�!"�R�#�X�'�7��L�-�)�������%*�F�C�$8�6�8�S�:Q�#R��D�%���4��;��$�%��,��\�\�$�s�)�,���\�\�$�s�)�,������B�v�U�r�(/���F�	$S�7'�D	��G���(�1��5����d�4��0��l�l�3�4�G��L�L���	�L�2���b�-��.��;4��3s�M>
�*N
c���^RIHp^RIpVR,pVR,pVR,pVUu.uFq�R,NK
	p	pVUu.uFq�R,NK
	p
pVUu.uFq�R,NK
	ppVP!\	V	44pVP
!R-R7wr�VP
W�R	R
RRR
7pTP
T\W�4UUu.uFwppVV,
NK	uppV
R	RR
RRRR7	pVPV4VPV	RR7VPR^
R7VP\^^
44VP^R4VPVRRRRVR2R7VP^RRRRR R!7VP^R"RRRR#R!7VFxpVP4pV^8�gKVP!VR$,
VP#4VP%4^,,\'\)V44R%R^R&R'R(7Kz	VP+R)^	R7VP-^R*R+7V
P/4\1V
^,R,W4R#uupiuupiuupiuuppi).uFig 44 – TRL staircase chart.N�fig44_trl_staircase�
components�
system_trlr)�trl_current�
trl_targetrRrz#2166aczCurrent TRL (Phase I validated)r�)r�r]rY�alignz#d1e5f0r
zTarget TRL (Phase II))r�r�r]r�r�rYr�r�r�z Technology Readiness Level (TRL)r@�#d6604dr�rz
System TRL = z (conservative)�r]r]r�rYr\r�r�rbzPhase I target: TRL 4)r]r]r�rXrY�greenzPhase II target: TRL 6r[r0rhr�ruFig 44 – Component TRL Staircase (Table X, de Beer 2026)
Solid: achieved; Hatch: target. Conservative system-level TRL claim.r�r��
trl_staircase)�	�)rerfrgr�r�r�r�r�rr�rur�r�rrOr�r�r�r�rr,rxryrzr@)r{r*r+r:rh�trlr��sys_trlrVr��current�targetr�r<r��bars_currM�bars_gapr�r8s&&&                 r�
plot_fig44r�-sl��#��
�!�
"�C����E��,��G�$)�*�E�q�6���E�E�*�+0�1�5�a�=�!�!�5�G�1�+0�1�5�a�<���5�F�1�
�	�	�#�e�*��A��l�l�6�*�G�C��w�w�q�#�Y�>�h��P�H��w�w�q�S��-A�B�-A�T�Q��1�q�5�5�-A�B�#�C�y�!*�c�4�H��F�H�
�M�M�!�����u�s��+��M�M�4�r�M�B��M�M�%��2�,���K�K��3���J�J�w�i�4�3�$�W�I�_�=��?��J�J�q��#��C�,��.��J�J�q��3�#�S�-��/����M�M�O���q�5��G�G�A��G�S�Y�Y�[�3�>�>�+;�a�+?�?���A��K�G��1�!�f�
�
6���L�L�	O����
�I�I�q�m�I�,�������b�/�7�0��Q+��1��1��Cs�I �I%�I*�I/c�*�^RIHp^RIpVR,pVR,pVR,pVR,pVP!R$R7wr�.R%Op\	\\
V444p\V4F�wr�VR,^,
pVR,VR,,
^,pV
PV
VVR	W�\
V4,,R
RRR
7pV
PVV^,,V
RVR,2RR^	RRR7K�	.R&Op.R'Op\VV4FSwppV
PVR,
RRRRR7V
PVR,
\
V4R,
VRR^RRR7KU	V
PV4T
PVUu.uF pRVR,RVR,R,2NK"	upRR7V
PR ^
R7V
P\V^,44T
P!\V^,4Uu.uFp\#V4NK	up4V
P%R(VR!,4V
P'R"^	R7V
P)4V	P+4\-V	^-R#W4R#uupiuupi))u0Fig 45 – Phase I SBIR deliverable Gantt chart.N�fig45_sbir_deliverables�deliverables�
milestones�total_monthsrR�month_start�	month_endr�rhr
r�)r�r�r]r�r�r�rVrr�z#1a1a2e)r�r�r�r�r]rr�r�r)r]r]r�rXr[r�rr4rp:N�2Nr�r�zMonth (Phase I base period)rgu�Fig 45 – Phase I SBIR Deliverable Timeline (de Beer 2026, §20)
D1–D5: six-month base period. M1/M3/M6: Go/No-go decision points.�
sbir_timeline)r�rf)z#4393c3z#74add1z#abd9e9z#e0f3f8z#fee090)r�r�r])�M1�M3�M6g333333ӿ)rerfrgr��listr�r�r�r�r�r�rOrr�rur�r�rrrxr�rzr@)r{r*r+r:rh�timeline�delivsr�r�r<r�r�y_posr��delivrw�durr��	ms_months�	ms_labels�ms_m�ms_l�d_rks&&&                     r�
plot_fig45r�aso��#���*�+�H���'�F��,�'�J��N�+�L��l�l�8�,�G�C�
D�F�
�%��F��$�
%�E��f�%����m�$�q�(���k�"�U�=�%9�9�A�=���g�g�a��5��"�s�6�{�?�3� '�3�h��H��	�����a����a��d��}�$5���1���	�	!�
&��I�#�I��)�Y�/�
��d�
�
�
�4�#�:�Y�$� ��	�	-�
����s�
�C��K�#�-�t���1�I�!�	�	#�0��M�M�%�����V�L�V�r�!�B�t�H�:�R��7��C�(8�'9�:�V�L� #��%��M�M�/�"�M�=��M�M�%��q�(�)�*�����l�Q�.>�(?�@�(?�1��A��(?�@�A��K�K��l�S�(�)��L�L�	N����
�O�O��������b�/�7�0��M��As�&J�Jc
� �VR,pVR,pRRRRRRR	R
RR/pVUu.uFqfR
,NK
	ppVUu.uFqfR,NK
	ppVUu.uFqfR,NK
	p	pVUu.uFqfR,NK
	p
pVUu.uFqfR,NK
	ppVUu.uFqfR,NK
	pp\P!^^R7R7wp
wr�VP4F�wpp\\	V44Uu.uFpVV,V8XgKVV,NK	pp\\	V44Uu.uFpVV,V8XgKVV,NK	ppV'gK�VPVVV^(V^R7K�	VP
R4VPR4VPR^	R7VPR^	R7VPR^	R7VP^RR7VPRRRRR R!7VPR"RR#RR$R!7VUu.uFpVPV\4NK	ppVP4pVP!W�VR%R%^R&7VP#W�R'R(R)^R*7VPR+^	R7VPR,^	R7VPR-^	R7VPR.VR/,R0
R12^	R7VP^RR7VP4UUu.uFwpp\$P&!VVR27NK 	pppVPV^RR37V
P)R4^	R7V
P+4\-V
^.R5W4R6#uupiuupiuupiuupiuupiuupiuupiuupiuupiuuppi)8uAFig 46 – Landauer structural entropy cost vs observation level.�fig46_landauer_audit�entries�
SubThermalr�Thermalr�
MildBurdenr�ModerateBurdenr�SevereBurdenr�obs_sigma_sq�excess_nats�
energy_joules�power_watts�class_labelr(rR)rVrWrYr^r�z$\sigma^2_\mathrm{obs}$ (W)r�z Excess entropy $\Delta H$ (nats)z.Structural entropy burden vs observation powerrar�r[r\r�r
zMildBurden thresholdr�r�r�zModerateBurden thresholdrb)r]rXr r^zk--rz	Power (W))r�rYr^r�zErasure energy (J)zStructural power (W)z#Erasure energy per window  [cumul.=�cumulative_energyr3z J]r�rdu~Fig 46 – Landauer Thermodynamic Audit
$E_\mathrm{erase} = k_B T \Delta H_\mathrm{struct}$  (Landauer 1961, §thermodynamics)�landauer_auditN�r�r})r:r�r"r�r�ror�r�rurvrxryr�r�r#r�r�r�rrr�rzr@)r{r*r+�auditr��CLASS_COLORSr��obs�nats�ejoul�pwatt�clssr(r<r	r
�clsr:r��xs�ysrVr�ax2rr$r%�patchess&&&                        r�
plot_fig46r��s���
�$�%�E��I��G�	�)��)��)��)��)��L�*1�1��A�~�
�
��C�1�)0�1��A�}�
�
��D�1�)0�1��A��
�
��E�1�)0�1��A�}�
�
��E�1�)0�1��A�}�
�
��D�1�)0�1��A�u�X�X��C�1��l�l�1�a��9�O�C��#�!�&�&�(���S�$�S��\�2�
E�2�!�d�1�g��n�f�c�!�f�f�2��
E�$�S��\�2�
E�2�!�d�1�g��n�g�d�1�g�g�2��
E�
�2��K�K��B�#��3�q�K�A�	)�
�N�N�5���N�N�5���N�N�1�A�N�>��N�N�6��N�C��M�M�B�Q�M�O��J�J��|�J�,��K�K��6�S�C�G]�K�^��K�K��6�T�S�Hb�K�c�7;�
;�d��l���q�)�,�d�F�
;��9�9�;�D��G�G�C�f�C�s�1�G�E��I�I�c�%�3�k�!�I�L��N�N�>�A�N�.��N�N�'�!�N�4��O�O�*�Q�O�7��M�M���,�-�c�2�#�	7����	�K�K���K�-�=I�<N�<N�<P�Q�<P�D�A�q�x�~�~�A�Q�/�<P�G�Q��J�J�w���J�=��L�L�	.��	��
������b�"�G�1��a
2��1��1��1��1��1��F��
E��<��RsF�M�M"�M'�(M,�?M1�M6�3M;�
M;�-N�
N�N�/$N
c�	�VR,pVR,pR\R\RRR\/pR.VUu.uFqfR	,NK
	up,pR
.VUu.uFqfR,NK
	up,pVUu.uFqfR,NK
	p	pVUu.uFqfR
,NK
	p
pR.VUu.uFqfR,NK
	up,p\\	\V444p\P!^^RDR7wp
wr�\	^\V44FopVPVV,\4pVPRVV,VV,3VV^,
,VV^,
,3\RVRR7R7Kq	TPYxVUu.uFpVPV\4NK	up^^R7pVPV^,.V^,.^PRR^RR7VPVRE,.VRE,.^PRR^RR7VP4UUu.uFwpp\P!VVR7NK 	upp\P !^.^.RRR^
RR7\P !^.^.RRR^RR7.,pVP#V^R R!7VP%R"^	R#7VP'R$^	R#7VP)R%VR&,R'
R(VR),R'
2^	R#7VP+W�\,R*R+R,R-7VP/4pVP1W�R.R/R0R17VP%R2^	R#7VP'R3\,^	R47VP'R5R6^	R47VP3R7\,R87VP3R7R6R87RFFBwppVP5VR9R:R;R<7VP7V\9V	4R=,V^R>R9R?7KD	VP;4wppVP;4wppVP#VV,VV,^R#7VP)R@^	R#7V
P=RA^	R#7V
P?4\AV
^/RBW4RC#uupiuupiuupiuupiuupiuupiuuppi)GuFFig 47 – Fisher-Rao manifold drift: geodesic path in mu-sigma space.�fig47_fisher_rao_drift�steps�Linear�Settling�	NonLinearr�Oscillatoryr[�mur�sigma�fr_distance�cumulative_length�drift_class_labelrRr$r%rr'�r)r*r+�rVrWr^r��gold�Start)rWrXrVr^rY�Xr��Endr�r8)rXr]�markerfacecolorrZrYrardz$\mu$ (channel mean)r�z$\sigma$ (channel std dev)z<Gaussian manifold drift path (Fisher-Rao metric)
Peak step: �
peak_distancer�z  |  Path length: �total_lengthr�rbz
Step distance)r]rXr rYzr-rzCumulative length�r�rYz
Step indexzFR step distancer`zCumulative path lengthr_r�rar\r�r
�r]r]r�r[r�)r�r�r]z*Geodesic step distance and cumulative pathu�Fig 47 – Fisher-Rao Geodesic Drift on Gaussian Manifold
$d_\mathrm{FR}(p_1,p_2)=2\sqrt{2}\,|\!\operatorname{arcsinh}(\frac{\mu_1-\mu_2}{2\sigma_m})|$  (§manifold)�fisher_rao_driftN�r�rfr/))r�zPhase 1
Linear)�zPhase 2
Settling)�zPhase 3
Reversal)!rr�rtr�r�r�r:r�r�r#r5r6ror"rrrryrurvrxr�r�r�r�rCrOr�r�rhr�rzr@)r{r*r+rGr�r�rW�mus�sigs�frd�cumr��idxsr<r	r
r�rVrGr$r%�legend_handlesr�rNrYrnrorprqs&&&                          r�
plot_fig47r�so��
�&�'�E��'�N�E�	�|��z��y��{�	�L��E�U�;�U��t�W�W�U�;�;�C�
�F�U�;�U���j�j�U�;�;�D�5:�;�U��}�
�
�U�C�;�5:�;�U��"�
#�
#�U�C�;�
�J�%�@�%�Q�/�0�0�%�@�@�C���s�5�z�"�#�D��l�l�1�a��;�O�C��#��1�c�#�h�
�����S��V�Y�/�����R�S��V�T�!�W�-�s�1�Q�3�x��a��c��6K� $��A�#� F�	�	H� �

���S�3�"O�3�a�<�#3�#3�A�y�#A�3�"O��!�
�
%�B��K�K��Q���4��7�)�r�#�������K�K��R��	�D��H�:��C�7�1����6B�5G�5G�5I��5I�T�Q�����Q�a�(�5I��	�
�
�A�3���C�s�F� ��	1��
�
�A�3���C�s�G��u�	.�	��N��J�J�~��|�J�D��N�N�*�Q�N�7��N�N�0�1�N�=��M�M�	��o�.�s�3�4��n�-�c�2�	4��	���G�G�D�V�3�c��G�Q��9�9�;�D��I�I�d���4G�I�H��N�N�<�!�N�,��N�N�%�V�a�N�@��O�O�,�E�A�O�F��O�O���O�0����#�%��0�1���5����A�V�s�c��B�����C��H�t�O�U�Q�8��	�	�1��3�3�5�O�F�G��4�4�6�O�F�G��J�J�v����'� 1�A�J�>��M�M�>��M�K��L�L�	w����������b�$�g�3��C<��;��;��;��@��#P��s)�Q"�Q'�-Q,�Q1�Q6�
Q;�$Rc	��VR,pVR,pVR,pVUu.uFqfR,NK
	ppVUu.uFqfR,NK
	ppVUu.uFqfR,NK
	p	pVUu.uFqfR,NK
	p
pVUu.uFqfR,NK
	ppVUu.uFqfR	,NK
	ppVUu.uFqfR
,NK
	p
p\P!^^R8R7wpwppVPWxR^R
RR7VP4pVP	WyR^RRR7VP\
R\W}44^4RRRRR7VPR^	R7VPRR^
R7VPRR^
R7VPR RR!7VPR RR!7VPR"^	R7VP4wppVP4wppVPVV,VV,^R#R$7VP	WzR%R
R&R'7VP	W{R(R)R*R'7VP4pVUu.uFp\V4NK	ppVPVR+,VR+,R,RR-R'7VPR.^	R7VPR/^	R7VPR0R^	R7VPR RR!7VPR1VR2,R3
R42^	R7VP4wppVP4wppVPVV,VV,^R#R$7VPR5^	R7VP!4\#V^0R6W4R7#uupiuupiuupiuupiuupiuupiuupiuupi)9uBFig 48 – Relativistic β, γ, and Doppler offset vs Mach number.�fig48_doppler_sweeprC�f0_hz�mach�beta�gamma�
doppler_hz�classical_doppler_hz�residual_hz�correction_significantrRrVrxz
$\beta = v/c$�rZr�rYr[rz$\gamma$ (Lorentz factor)c3�>"�TFwrV'gKVx�K	R#5ir r�)r�rkrWs&  rr��plot_fig48.<locals>.<genexpr>@	s���8�N�D�A�a�a�a�N�s��
�purpler�r�z"$\beta > 3\times10^{-5}$ thresholdr�zMach number (ISA sea-level)r�z$\beta$r^r`z$\gamma$r_r�rau7Lorentz factors $\beta,\gamma$ vs Mach  (f₀ = 10 GHz)rar�zb-zRelativistic Doppler (Hz)r
zg--rzClassical Doppler (Hz):r�NN�r:u Relativistic residual |δf| (Hz)zMach numberzDoppler offset (Hz)z|Residual| (Hz, log scale)u1Doppler offset and relativistic residual
[f₀ = �e��Ar�u" GHz, threshold: β > 3×10⁻⁵]u�Fig 48 – Relativistic Doppler Correction (Mach 0–30, ISA Sea Level)
$f_r = f_0\sqrt{\frac{1+\beta}{1-\beta}}$  (hypersonic platform; §high_dynamics)�
doppler_sweepNr)r:r�r~r�r�rOr�r�rurvrCrxrhryrAr�rzr@)r{r*r+rir|�f0r}rrr�d_hz�cl_hz�res�sigr<r	r
�ax1rrnrorprq�ax2r2r~�res_abss&&&                      r�
plot_fig48r3,	s��
�#�$�E��(�O�C��'�N�B�25�6�#�Q�v�Y�Y�#�D�6�25�6�#�Q�v�Y�Y�#�D�6�25�6�#�Q�w�Z�Z�#�E�6�25�6�#�Q�|�_�_�#�D�6�25�6�#�Q�%�
&�
&�#�E�6�25�6�#�Q�}�
�
�#�C�6�25�6�#�Q�'�
(�
(�#�C�6��l�l�1�a��;�O�C��#�s��L�L��U�q�C�GW�L�X��9�9�;�D��I�I�d�6�a�3�Fb�I�c��K�K��8�C��N�8�"�=��$�#�;��=��N�N�0�1�N�=��N�N�:�V�b�N�9��O�O�K�u�r�O�:��O�O���O�0����#�%��0��M�M�L�WX�M�Y��3�3�5�O�F�G��4�4�6�O�F�G��J�J�v����'� 1�A�<�J�P��H�H�T�$�3�6Q�H�R��H�H�T�%�3�6N�H�O��I�I�K�E�"�#�s�!�s�1�v�s�G�#�	�N�N�4��8�W�R�[�$�#�;��=��N�N�=�1�N�-��N�N�(�1�N�5�	���1����K�	���3�5��1��M�M���c�6�#�,�@�	B�����3�3�5�O�F�G��5�5�7�O�F�G��J�J�v����'� 1�A�<�J�P��L�L�	]����������b�/�7�0��g
7��6��6��6��6��6��6��2$s.�M%�M*�M/�%M4�<M9�M>�*N�Nc�p�VR,pVR,pVR,pVR,pR\R\R\RR	/pVUu.uFq�R
,NK
	p	pVUu.uFq�R,NK
	p
pVUu.uFq�R,NK
	ppVUu.uFq�R
,NK
	ppVUu.uFq�R,NK
	p
p\P!^^RAR7wpwppRp..Rppp\W�V4FmwpppVV8wd>V'dVP
VVVRR7V.V.ppVPV\4pTpKKVPV4VPV4Ko	V'dVP
VVVRR7VUu.uFpVPV\4NK	ppVPW�V^#^R7VPRRRRRR7VPRRRRRR7VPR4VPR4VPR ^	R!7VPR"^	R!7VP!R#VR$,R%
R&VR',R%
R(2^	R!7VP#4UUu.uFwpp\$P&!VVR)7NK 	pppVP)V\P*!^.^.RRR*R+7\P*!^.^.RRRR+7.,^R,R-7VP-W�R.^R/R0R17VP/4pVP-W�R2^R3R4R17VPRRRRR57VPR6^	R!7VPR7R8^	R97VPR:R;^	R97VP1R<R8R=7VP1R<R;R=7VP!R>^	R!7VP34wppVP34wpp VP)VV,VV ,^R!7VP5R?^	R!7VP74\9V^1R@W4R#uupiuupiuupiuupiuupiuupiuuppi)BuDFig 49 – Quantum-to-thermal ratio R_QT vs temperature (2K–500K).�fig49_quantum_regime�
temp_sweep�
carrier_hz�bandwidth_hz�DeepThermal�TransitionRegime�QuantumLimited�BelowSQLr�temp_k�r_qt�regime_label�
sql_margin�thermal_photonsrRNr)r]r�rr�r�r�r�z$R_{QT}=1$ (SQL boundary)r�r�r\r�r
z$R_{QT}=0.01$ (deep thermal)r�zReceiver temperature T (K)r�z$R_{QT} = \hbar\omega / k_B T$uQuantum-to-thermal ratio
[f₀=r)r�z	 GHz, BW=���.Az MHz]r��SQL)r]r]rYr=rdrVrxzSQL margin (floor / shot noise)r$r[rzThermal photon number $\bar{n}$rzTemperature T (K)uSQL margin (×)r^r`z$\bar{n}_{th}$r_r�raz(Noise floor margin and photon occupationu�Fig 49 – Quantum Noise Regime Map ($R_{QT}$ vs $T$)
[SQL = Standard Quantum Limit; §quantum_noise — non-claim calibration reference]�quantum_regimer)rr�rtr:r�r�r�r�r#rror�r�r�rurvrxr"rrryrr�r�rCrhr�rzr@)!r{r*r+�qmapr|r+�bw�
REGIME_COLORSr}�temp�rqtrI�sql_m�nphr<r	r
�prev_reg�seg_x�seg_y�seg_colrMr~r$rr$r%r�r�rnrorprqs!&&&                              r�
plot_fig49rPi	s0���
#�$�D����C����B����B�	�L��J��K��I�	�M�+.�
.�#�Q��k�k�#�D�
.�*-�
.�#�Q��i�i�#�C�
.�*-�
.�#�Q����#�F�
.�*-�
.�#�Q��o�o�#�E�
.�,/�
0�C�q�!�"�"�C�C�
0��l�l�1�a��;�O�C��#�s��H���D�'�5�E���F�+�	��1�c��(�?�������W���D��3���5�E�#�'�'��Y�7�G��H��L�L��O�U�\�\�!�_�,�
������W���<�7=�
>�v�!�m����9�-�v�F�
>��K�K��V�r�!�K�4��K�K��G�t�s�2��4��K�K��F�s�s�5��7��N�N�5��3�>�>�%�0��N�N�/�!�N�<��N�N�4�q�N�A��M�M�
*�2�c�6�#�,�i��3��s�|�5�Q����=J�<O�<O�<Q�R�<Q�D�A�q�x�~�~�A�Q�/�<Q�G�R��J�J�w��
�
�A�3��s�'�T��G��
�
�A�3��s�&�S��O�"���}��&��J�J�t�E�a�3�6��8��9�9�;�D��K�K��6�a�3�8��:��K�K��6�T�S�K�A��N�N�&��N�3��N�N�$�F�Q�N�?��O�O�%�U�Q�O�?��O�O���O�0����#�%��0��M�M�<�q�M�I��3�3�5�O�F�G��4�4�6�O�F�G��J�J�v����'� 1�A�J�>��L�L�	`����������b�"�G�1��/��
.��
.��
.��
0��&?��Ss)�P�P�-P�P#�P(�3P-�$P2c���VR,pVR,pVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	p	pVUu.uFqUR,NK
	p
pVUu.uFqUR,NK
	pp\P!^^R9R	7wpwr�VUu.uFq�^8�d\M\NK	ppV
P	\\
V44VVR
R7V
P\\
V444T
PVUu.uFqUR
R
2NK
	up^R7V
PR^	R7V
PR^	R7V
P^^.4V
PRVR,RVR,RVR,R2^	R7V
PRRRR
RR7V
P^R7V
PRRRV
P ^R R!RR"7V	Uu.uF#pVR#8Xd\"MVR$8Xd\$M\NK%	ppVP'\\
V44VR%^R&R'^R(7\)\+\\
V44VV44F#wpwpppVP-V.V.V.^<^R)7K%	VP/4pVP'\\
V44VR*^R+R,^R(7VPRRR-R
R.7VP\\
V444TPVUu.uFqUR
R
2NK
	up^R7VPR^	R7VPR'R/^	R07VPR,R1^	R07VP1R2R/R37VP1R2R1R37VP3^R44VPR5^	R7VP54wppVP54wppVPVV,VV,^R7VP7R6^	R7VP94\;V^2R7W4R8#uupiuupiuupiuupiuupiuupiuupiuupiuupiuupi):uLFig 50 – MAD-robust BFT consensus: quarantine rate vs Byzantine DSA scale.�fig50_swarm_consensusr+�byzantine_dsa_scale�votes_quarantined�p_admissible�modal_state_label�quorum_reached�consensus_dsa_scorerRr
r;r��×r�zByzantine DSA scale factorz!Votes quarantined (MAD-KS filter)zQuarantine decisions  [N=�n_honest_nodesz	 honest, �n_byzantine_nodesz Byzantine, BFT-f=�bft_f�]rr\r�zQuarantine thresholdr�r�r[zcMAD robust z-score  KS filter
$z_\mathrm{rob} = |x-\tilde{x}|/(1.48\cdot\hat{\sigma}_\mathrm{MAD})$r0r1)r�r�r�r�r]rrLrVrxz$p_\mathrm{admissible}$rYrr[rzConsensus DSA scorer�rr^r`r_r�rar�zGrammar consensus and DSA scoreu�Fig 50 – BFT Semiotic Swarm Consensus vs Byzantine Node DSA Scale
[Lamport-Shostak-Pease 1982; MAD-robust KS filter; §swarm_consensus]�swarm_consensusNr)r:r�rtr#r�r�r�r�r�rurvrrxr�ryr�r�rr�r�r�r�ror�rCr�rhr�rzr@)r{r*r+�swarm�scensrW�	byz_scale�quarantined�p_admin�modal�quorum�	consensusr<r	r
�qrNrk�modal_colorsr�rNr�r:r�rnrorprqs&&&                         r�
plot_fig50ri�	sh��
�%�&�E��+��E�49�:�E�q�(�)�)�E�I�:�49�:�E�q�(�)�)�E�K�:�49�:�E�q�^�$�$�E�G�:�49�:�E�q�(�)�)�E�E�:�49�:�E�q�%�&�&�E�F�:�5:�;�U��*�+�+�U�I�;��l�l�1�a��;�O�C��#�AL�L��1�a��+�Y�6��J�L��G�G�E�#�i�.�!�;�j��G�L��N�N�5��Y��(�)����y�9�y�!�c�7�"��y�9�A��F��N�N�/�!�N�<��N�N�6��N�C��N�N�A�q�6���M�M�
#�E�*:�$;�#<�I��$�%�
&�&8��w��8H��	K����
�K�K��6�T�S�,��.��J�J��J���H�H�T�4�V��}�}�q�W��f�
�V����A��\�)���Z��
�{�	;����
�H�H�U�3�y�>�
"�G�U�q��"<�Q�
�H�#�C��c�)�n�(=�w��$U�V���;�A�q�#����Q�C�!�����A��6�W��9�9�;�D��I�I�e�C�	�N�#�Y��1��#8���D��K�K��6�S�C�K�@��N�N�5��Y��(�)����y�9�y�!�c�7�"��y�9�A��F��N�N�/�!�N�<��N�N�-�V�a�N�H��O�O�)���O�C��O�O���O�0����#�%��0��L�L��D���M�M�3�a�M�@��3�3�5�O�F�G��4�4�6�O�F�G��J�J�v����'� 1�A�J�>��L�L�	P����������b�#�W�2��};��:��:��:��:��;��
M��:��$��:s:�Q�Q�Q
�Q�3Q�
Q�?Q!�5Q&�)Q+�+Q0c	���VR,pVR,pVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	p	pVUu.uFqUR,NK
	p
p\P!^^R<R7wr�Vwr�pV
PWgR	\R
RR7V
P	WgR	R
\R7VR,e)V
PVR,RRRRVR,R
2R7VR,p\
V4^8�d_V^,^8�dQVUu.uF)pV^,VV^,,V),,NK+	ppV
PVVRRRVR
R2R7V
PR^	R7V
PR^	R7V
PRVR ,R!2R"VR
2,^	R7V
P^R7VP\\
V44V\R#R$R%7VP\\
V444TP!VUu.uFpVR
NK		up^-^R&7VPR'^	R7VPR(^	R7VPR)^	R7VP\\
V44V	R*^R+R,R-7VP#4pVP\\
V44V
R.^R/R0R-7VP\\
V444TP!VUu.uFpVR
NK		up^-^R&7VPR'^	R7VPR,R1^	R27VPR0R^	R27VP%R3R1R47VP%R3RR47VPR5^	R7VP'4wppVP'4wppVPVV,VV,^R7VP)R6VR7,R8VR ,R92R"VR
R:2,^	R7VP+4\-V^3R;W4R#uupiuupiuupiuupiuupiuupiuupiuupi)=uJFig 51 – Renormalisation-Group flow of Betti-0 vs coarse-graining scale.�
fig51_rg_flow�scales�epsilon�betti0_surviving�features_merged�mean_persistence�innovation_fractionrR�postrz $\beta_0(\varepsilon)$ surviving)r_r]r�rYr��r�rXr]�	stable_atNr�r�r�u
Stable at ε=r�r��beta_rgr(z$\varepsilon^{-z}$ guider
z#Coarse-graining scale $\varepsilon$r�zBetti-0 count $\beta_0$z!Betti-0 RG survival curve
Class: r�z  |  $\beta_{RG}$�=rbr�)r]rXr )r�r�z$\varepsilon$ levelzFeatures mergedz%Coarse-graining events per scale steprVrxzMean persistencer$zg--^rzInnovation fractionr^r`r�raz&Persistence and topological innovationuRFig 51 – Renormalisation-Group Flow: Betti-0 Survival $\beta_0(\varepsilon)$
[N=�n_eventsz events; class: z; $\beta_{RG}$u; §rg_flow]�rg_flow)�
rf)r:r�r�r�rPrOr�r�rurvrxryr�r�rtr�r�r�rCrhr�rzr@)r{r*r+�rg�scsrW�eps�b0�fmrg�mpersrrr<r�r	r
r�rur��guide_y�ax3rrnrorprqs&&&                     r�
plot_fig51r�
sn��
�o��B��x�L�C�/2�3�s�!�y�\�\�s�C�3�/2�3�s�!�!�
"�
"�s�B�3�/2�3�s�!� �
!�
!�s�D�3�/2�3�s�!�!�
"�
"�s�E�3�/2�3�s�!�$�
%�
%�s�E�3����Q��9�5�I�C��M�C�c��H�H�S�F�&�C�6�
�8����S�6��F��C�	�+��"����B�{�O�7�d�c�)�"�[�/�#�)>�?�	�	A���m�G�
�3�x�1�}��Q��!��?B�C�s�!�2�a�5�A��A��J�W�H�5�5�5�s��C�����g�t�s�*�7�3�-�y�A�	�	C��N�N�9�A�N�F��N�N�-��N�:��M�M���]�#�$�%�	��g�c�]�+�	,��	��
�J�J��J���G�G�E�#�c�(�O�T��C�s�G�K��N�N�5��S��?�#����S�1�S��A�c�7��S�1�B���K��N�N�)�A�N�6��N�N�$�q�N�1��M�M�9�A�M�F��H�H�U�3�s�8�_�e�U�q�C�%�
�'��9�9�;�D��I�I�e�C��H�o�u�f��c�)��+��N�N�5��S��?�#����S�1�S��A�c�7��S�1�B���K��N�N�)�A�N�6��N�N�%�V�a�N�@��O�O�)��1�O�E��O�O���O�0����#�'��2��M�M�:�Q�M�G��3�3�5�O�F�G��4�4�6�O�F�G��J�J�v����'� 1�A�J�>��L�L�	��:���/��=�0A�/B�C�	��g�c�]�,�7�	8��	��
������b�)�W�*��A
4��3��3��3��3�� D��2��2s.�Q
�Q�Q�Q�3Q!�7/Q&�
Q+�&
Q0c�@�V^8�dQhR\R\R\RR/#�rrRr*r+rN�r6rr,)rs"rrrL
s(��11�11�T�11�D�11�s�11�t�11rc�J�VPR/4pVPR.4pV'gR#VUu.uFqUR,NK
	ppVUu.uFp\VR,4NK	ppVUu.uFqUR,NK
	ppVUu.uFqUR,'d^M^NK	p	pVUu.uFqUR,'d^M^NK	p
pW�.pR	R
.p\P!^^R)R^^./R7wr�Vwpp^R
IHpV!RR.4pVP
VRV^^R7pVP\\V444VPV^R^R7VP\\V444VPV^R7\V4F=wpp\V4F(wppTPTTV'dRMRRR^RR7K*	K?	VPR^	R7VPWgRR7pVP!R^R7VPR^	R7\#VV4FdwppVPVP%4R,VP'4VP)4^,,\+V4R^R 7Kf	VP-^\/V4R!,4VPR"^4pVPR#R$4pV
P1R%VR&VR'2^	R7V
P34\5V
^4R(W4R#uupiuupiuupiuupiuupi)*z2Fig 52: Kani formal-verification coverage heatmap.�fig52_kani_coverager�N�module_name�proof_names�lines_covered_est�
panic_freedom�
bounds_provedz
Panic-freez
Bounds provedr}r~)rz#d32f2f�#388e3cr�)r�rSr�r�r0�r�r�r�r�u✓u✗r�rhr�u%Kani Property Coverage
(✓ = proved)�#1976d2�r]z# proof harnesseszHarnesses per modulerr�r�total_harnesses�kani_min_ver�?u/Fig 52 – Kani Formal Panic-Freedom Coverage
[u harnesses; Kani ≥ u-; run: cargo kani --features std; §XIX Kani]�
kani_coverage)r�rg)r�r�r:r��matplotlib.colorsrr�r�r�r�rr�r�r�rxr�rur�r�r�r�rrr�r�rzr@)rRr*r+r{r�rkr��proof_ns�lines�panic_ok�bound_okr�
row_labelsr<r��ax0r	rrSr�r�rr#r�r�r�r��tot�kvs&&&                          r�
plot_fig52r�L
s������&��+�A��e�e�I�r�"�G���*1�2�'�Q�-� � �'�F�2�/6�7�w�!��A�m�$�%�w�H�7�07�8��1�%�&�&��E�8�8?�@��1��'�'��Q�.��H�@�8?�@��1��'�'��Q�.��H�@��
!�F���0�J����Q��9�*8�1�a�&�)A�C�I�C��H�C��1��9�i�0�1�D�	���F�6��1�1��	E�B��N�N�5��V��%�&�������!��D��N�N�5��Z��)�*����
�Q��/��F�#���3���n�F�A�s��H�H�Q��C�5�U�x�H� ��
�
1�%�$��M�M�:�Q�M�G��8�8�F�I�8�6�D��N�N�&��N�3��M�M�(�1�M�5��d�H�%���Q��������4�'�����s�~�~�7G�!�7K�)K��Q��H�q�	�	2�&��L�L��C��M�C�'�(�
�%�%�!�1�
%�C�
�%�%���
$�B��L�L���5�%�b�T�)V�	X����������b�/�7�0��W3��7��8��@��@s�L�
L�+L�L�#L c�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�
s.��F.�F.�T�F.�D�F.�s�F.�t�F.rc
���VPR/4pVPR.4pVPR.4pVPR.4pVPR.4pV'gR#VUu.uFq�PR4^,NK	p	p^RIp
V
P!\	V	44pRp\
P!^^R R	7wr�.R!OpV^,pVPW�VR
7pVPR4VPR4VPR
4VPR4VPV4VPV	^R7\VV4F`wppVPVP!4VP#4^,,VP%4R,VR
R2RR^R7Kb	V^,pVPW�VR
7pVPR4VPR4VPR4VPR4VPV4VPV	^R7\VV4FewppRpVPVP!4VP#4^,,VP%4R,V!V4RR^R7Kg	V^,pVPW�VR
7pVPR4VPR4VPR4VPR4VPV4VPV	^R7\VV4FvwppVR8dVR
R2MVR,R
R2pVPVP!4VP#4^,,VP%4R,VRR^R7Kx	V
P'R^	R7V
P)4\+V
^5RW4R#uupi)"z&Fig 53: SWaP-C grouped bar comparison.�fig53_swap_c_bar�systems�latency_ns_per_sample�static_ram_bytes�power_mw_activeNr	r?rRr�r��SystemzLatency (ns / sample, log)zLatency per Sampler�rr�z nsr�r��r�r�r�zStatic RAM (bytes, log)zStatic RAM Footprintc��VR8dVR2#VR8dVR,R
R2#VR8dVR,R
R2#VR,R
R2#)r�r�rBr�z KBr)z MBz GBr�)r<s&r�	fmt_bytes�plot_fig53.<locals>.fmt_bytes�
sX���4�x�1�#�R����3�w�1�T�6�#�,�c� 2�2��3�w�1�S�5��+�S� 1�1���e�C�[��$�$rzActive Power (mW, log)zEstimated Active Poweri�z mWz Wu�Fig 53 – SWaP-C Efficiency Comparison
[DSFB 27 ns / 4 KB / ~2 mW vs Typical SDR 800 ns / 64 MB / 2.5 W vs GPU-CNN 15 ms / 24 GB / 375 W; §XIX-A]�
swap_c_bar��r})�#1565c0�#f57c00z#c62828)r�rQrgr�r�r:r�r�r�rurvrxr�r�r�r�r�r�r�r�rzr@)rRr*r+r{r��latency�ram�powerrW�labels_shortrhrNr r<r�rr�r�r�r%r��lbls&&&                   r�
plot_fig53r��
sp�����#�R�(�A��e�e�I�r�"�G��e�e�+�R�0�G��e�e�&��+�C��e�e�%�r�*�E���.5�6�g��G�G�D�M�!�$�$�g�L�6��
�	�	�#�l�#�$�A��E����Q��7�3�I�C�
.�F�
�a��B�
�6�6�!�F�6�+�D��M�M�%���M�M�(���M�M�.�/��L�L�%�&��M�M�!�����|�a��0��d�G�$���Q�
����	�	��c�m�m�o��1�1�3�>�>�3C�c�3I��S�'��
�(�x�!�	�	E�%�

�a��B�
�6�6�!��6�'�D��M�M�%���M�M�(���M�M�+�,��L�L�'�(��M�M�!�����|�a��0��d�C�.���Q�	%�
	����	�	��c�m�m�o��1�1�3�>�>�3C�c�3I��!���h��	�	D�
!�
�a��B�
�6�6�!�&�6�)�D��M�M�%���M�M�(���M�M�*�+��L�L�)�*��M�M�!�����|�a��0��d�E�"���Q� �4�x��3��s�m��$��s�|�2�->��
����	�	��c�m�m�o��1�1�3�>�>�3C�c�3I���X��	�	;�#�
�L�L�	5��	��
������b�,��-��y7s�) O5c�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�
s(��14�14�T�14�D�14�s�14�t�14rc
�t�VPR/4pVPR.4pV'gR#^RIp^RIHpV!\4pVF9pWxR,,PVR,VR,VR,34K;	\P!^^R#R	7wr�V
wr�\P!R
4p
\VP44p\V4F�wpp\VV,4pVUu.uFpV^,NK	ppVUu.uFpV^,NK	ppVUu.uFpV^,NK	ppV
!V^
,4pVPVVR^VVR7VPVVR
^VVR7K�	VPR4VPR4VPR4VP!^^R7VP#RRR7VPR4VPR4VPR4VP!^^R7VP#RRR7VPRR4pVPR^4pVPRR4pV	P%RVR,RVRVR
R 2^R!7V	P'4\)V	^6R"W4R#uupiuupiuupi)$z8Fig 54: RadioML episode rate vs SNR by modulation class.�fig54_radioml_episodesr�N)�defaultdict�
modulationr�episode_rate�false_alarm_raterR�tab10r)rXrZrYr]rWr�zEpisode detection ratez:Episode Detection Rate vs SNR
(structural boundary events)r�Trg�rXzFalse alarm ratezFalse Alarm Rate vs SNRr�zRadioML2018.01ar��
threshold_rhou:Fig 54 – RadioML 2018.01a Structural Episode Detection
[�Nr�Nz; W=u; ρ=r��; §L5]r��radioml_episodes)r�rf)r�rg�collectionsr�r�rr:r��get_cmaprk�keysr�r�rurvrxryr�r�rzr@)rRr*r+r{r�rhr��by_modr�r<r��ax_ep�ax_farS�modsr��modr|r}�snrsr|�fasr]r��wwr�s&&&                       r�
plot_fig54r��
sz�����)�2�.�A��e�e�I�r�"�G����'�
��
�F�
������&�&��(��Q�~�5F��J\�H]�'^�_�����Q��9�5�I�C��L�E��<�<�� �D��&�+�+�-� �D��D�/���3��V�C�[�!��!�"�c���!���c��"�!�"�c���!���c��"�!�"�c���!���c��"��Q��V���
�
�
�4��S�Q�c��
�O�
�
�
�4��S�Q�c��
�O�"�
���Z� �	���-�.�	�O�O�Q�R�	�L�L�!�!�L�$�	�J�J�t�3�J��	���Z� �	���'�(�	�O�O�-�.�	�L�L�!�!�L�$�	�J�J�t�3�J��
�%�%�	�,�
-�B�
�%�%�
�A�
�B�
�%�%���
%�C��L�L���s�G�9�D���E�#�c��'�	3����������b�$�g�3��7#��"��"s�9J+�J0�)J5c�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�
s.��I5�I5�T�I5�D�I5�s�I5�t�I5rc��VPR/4pVPR.4pV'gR#VUu.uFqUR,NK
	ppVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	ppVUu.uFqUR,NK
	p	pVPR^4p
VPR	^4p\P!^^R=R
R^./R7wpwr�VUu.uF
q�^8�dR
MRNK	ppVUu.uFpRV2NK
	ppV
PVVVRRR7pV
P	R^	R7V
PR^	R7V
P
RV
R
RVR
R2^	^R7V
PR^R7V
PV
RRRR V
R
R!2R"7V
P^R#RR$R%R&7V
P^R'R(7V'd\V4MR)p\VV4FuwppV^8�dR*MR+pV^8�d
VR,,M	V)R,,pV
PVP4VP4^,,VV,VR
R-VR.R/7Kw	VPR04\WgW�4UUUUu.uFwppppRV2VR
R!2VR1
VR2,.NK 	pppppVP!V.R>OR-R-R37pVP#R44VP%R.4VP'^R54VP
R6VPR7R84R9,R:2R;^R7VP)4\+V^7R<W4R#uupiuupiuupiuupiuupiuupiuuppppi)?z+Fig 55: CRAWDAD WiFi lead-time bar + table.�fig55_crawdad_leadr�N�channel�lead_time_ms�dsa_at_onset�
grammar_state�median_lead_ms�p95_lead_msr}rr~r�r�zCh rhrr�z#Structural precursor lead time (ms)r�zWiFi channelu@Fig 55 — CRAWDAD WiFi Structural Precursor Lead Time
median = r�u ms  ·  p95 = u
 ms  ·  §L5�r�r�rN)r�r;r�r�r\zMedian � ms)r]r�r]rYr\r�r)r]r�r]rXr=r�r�r�r1r�r�r�r�rr�:N�N��cellText�	colLabels�cellLocrcFg�������?z	[CRAWDAD r�r$:N�-Nr]r��crawdad_lead_time)r�r�)�Channelz	Lead (ms)uDSA∣onsetz
Grammar state)r�r:r�r�rvrurxrCr�ryr�r�r�r�r�r��table�auto_set_font_sizer��scalerzr@)rRr*r+r{r�r��channels�leads�dsasr��med�p95r<rI�ax_tblr%rNrV�x_labelsr��y_maxr�r�r�lr��st�rows�tbls&&&                          r�
plot_fig55r��
s������%�r�*�A��e�e�I�r�"�G���&-�.�g��)���g�H�.�+2�3�7�a�.�!�!�7�E�3�+2�3�7�a�.�!�!�7�D�3�,3�4�G�q�/�"�"�G�F�4�
�%�%� �!�
$�C�
�%�%�
�q�
!�C� �L�L�	�1��#�c�1�X�.���C�	�&�>C�C�U��1�u�)�)�3�U�J�C�%-�.�X��C��s�)�X�H�.��:�:�h��Z�7�VY�:�Z�D�
���;�a��H�
���n�q��1�
���	���9�O�C��9�M�	C�����
���C�1��-�
�N�N�3�$�#�V�"�3�s�)�3�/��1�
�N�N�1��s�'��N�M�
�M�M�1�-�M�0� �C��J�S�E��d�E�"���Q��q�&�h�e���1�f�e�d�l�5�&�4�-������I�I�K�#�-�-�/�A�-�-�
��G���g��B��		�	
�#��K�K��� ���>��>�L�A�q�"�b��q�c��q��g�S�M�b��X��3��8�>�	���,�,��J���	��C����5�!����S���I�I�a���
���
�A�E�E�)�B�'��,�-�Q�/��!���
������b�%�w�4��E/��3��3��4��D��.��<s)�L.�
L3�!L8�8L=�M�/M�+$M
c�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrrIs(��,5�,5�T�,5�D�,5�s�,5�t�,5rc�2�VPR/4pVPR.4pV'gR#^RIpVUu.uFqfR,R*RNK	ppVUu.uFqfR,NK
	ppVUu.uFqfR,NK
	p	pVUu.uFqfR,NK
	p
p\P!^^R+R7wr�Vwr�V
P	W�V
R	^dR
R^R7p\V4F,wppV
P
VVV,V	V,3R
R,^R7K.	\P!W�RR7V
PR4V
PR4V
PR4V
PRRR7VP!\V44pRpVPVV^,,
VVRRR7VPVV^,,V	VRRRR7VPV4VP!V^#R^R 7VPR!4VPR"4VP#^R#7VPRRR7VPR$R%4pVP%R&VR',R(2^R#7VP'4\)V^8R)W4R#uupiuupiuupiuupi)-z6Fig 56: IQ Engine / ORACLE hardware diversity scatter.�fig56_iqengine_coverager�N�hardware_id�dsa_mean�dsa_std�episode_densityrRr~r$r)rVrSrWrYrZr^r\r{zEpisode densityr�zDSA score meanz
DSA score stdz5Per-hardware DSA Statistics
(ORACLE USRP B200 corpus)Trgr�r�zDSA meanr�)rYr]zDSA stdr�r
�rYr]rXr0r�z	DSA valuezMean/Std per hardware unitr�r��ORACLEu9Fig 56 – IQ Engine / ORACLE Corpus Hardware Diversity
[:NrpNr��iqengine_coveragerfr�)r�r�)r�rgr:r�ror�r5r�rurvrxr�r�r�r�r�r�ryr�rzr@)rRr*r+r{r�rhr�r��meansr��	densitiesr<r��ax_scrIrGr�r�rNr8r�s&&&                  r�
plot_fig56r�Isu�����*�B�/�A��e�e�I�r�"�G����/6�7�w�!�-� ���%�w�F�7�'.�/�w�!�*�
�
�w�E�/�&-�.�g��)���g�D�.�.5�6�g��#�$�$�g�I�6����Q��7�3�I�C��M�E�	���u�i�i����Q�
�
H�B��F�#���3�
���s�U�1�X�t�A�w�/�"1�&�1�	�	N�$��L�L��%6�7�	���%�&�	���_�%�	�O�O�L�M�	�J�J�t�3�J��
�	�	�#�f�+��A��A�
�J�J�q�1�Q�3�w��q�
�)�J�D�
�J�J�q�1�Q�3�w��a�y�	��J�M�
���a��
���6�B�7�Q��G�
���k�"�
���1�2�
�M�M�1�M��
�K�K��C�K� �	
���y�(�	#�B��L�L���s�G�9�G�	����������b�%�w�4��I8��/��.��6s�J�J
�(J�?Jc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrrxs(��&2�&2�T�&2�D�&2�s�&2�t�&2rc��VPR/4pVPR.4pVPR.4pVPR.4pV'd	V'gR#^RIp\V4p\V4p	VP!V4p
Rp.ROp\P
!RR7wr�\
V	4F�pW�V	^,,
R,V,,p\
V4Uu.uF%pV\V48dVV,V,M^NK'	ppVPVVW�V,W�\V4,,R	R
7pK�	VPV
4VPV^R^R7VPR
4VPR4VP^R7VPRRRR7VPRR4pV
PRVR,R2^R7V
P4\!V
^9RW4R#uupi)z3Fig 57: Cycle-count manifest stacked / grouped bar.�fig57_cycle_manifestr�	platforms�
latency_nsNr?rRrrar�r0r�u+Latency (ns) — instruction-model estimatezMPipeline Stage Latency by Target Platform
(Phase II measured budgets pending)r�Tr�rg�r�rX�notesr$u:Fig 57 – Cycle-Count Manifest: DSFB-RF Pipeline Stages
[:N�ZNr]�cycle_manifest)r��#00695cz#827717)ryr�)r�rgr�r�r:r�r�r�r�r�rvrxryr�r�rzr@)rRr*r+r{rrr�rh�n_stages�n_platformsrNr rr<r�rA�offsets�sir�r�rs&&&                  r�
plot_fig57rxs������'��,�A����h��#�F����k�2�&�I����l�B�'�G������f�+�H��i�.�K�
�	�	�(��A��E�
.�F��l�l�7�+�G�C��K� ���K�!�O�+�c�1�U�:�:����/�+�)�B�$&��G��#4����B��!�;�)�	
�+��v�v�g�t�U�B�-�"��F��#3�4�D��B��	!��M�M�!�����v��w���C��M�M�?�@��L�L�a�b��I�I�q�I���G�G�D�s�#�G�&�
�E�E�'�2��E��L�L�	��#�J�<�q�	����������b�"�G�1��%+s�%+Hc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�s(��+3�+3�T�+3�D�+3�s�+3�t�+3rc��VPR/4pVPR.4pV'gR#^RIpVPRR4pVPR\V4V,4p\\V44Uu.uFq�V,NK
	p	pVPRR4p
VPR	R4pVPR
R4p\P
!^^R/RR7wr�VwppVP
W�R
RRR7VPV
RRRV
R
2R7VPW�,RRRVR
2R7VPW�,
RRR7VPR4VPRVR
RVRVR
24VP^R 7VPRR!R"7VPV^(RR#RR$7VPV
RRR%7VPR&4VPR'4VPR(4VPRR!R"7V
PR)VR
R*V
R
R+VR
R,VR
R-2	^	R 7V
P!4\#V
^:R.W4R#uupi)0z=Fig 58: Long-duration empirical stability trace (1M samples).�fig58_stability_trace�
dsa_scoresN�subsample_intervali��	n_samples�mean_dsar[�std_dsa�
max_abs_driftTr�r�r�r
)r�r]rXr��orangezmean=r��r]r]rYr�r_u±1σ=)r]r]z	DSA scorezDSA Score Trace: r�u samples (subsampled ×z)
max |drift| = z.6fr�rgr�rb)r r]rX�density)r]r]zSample index (subsampled)�Densityz+DSA Score Distribution across 1M-sample runu.Fig 58 – Long-Duration Empirical Stability: z Observations
[mean=z; std=z; max_drift=u
; §XIX-F]�stability_trace�r�r])r�rgr�r�r:r�r�r�rvrxryr�r"rOrur�rzr@)rRr*r+r{�scoresrh�interval�n_totalr��t_axis�mean_d�std_drGr<r��ax_trace�ax_hists&&&              r�
plot_fig58r&�sf�����(�"�-�A�
�U�U�<��
$�F�����u�u�)�4�0�H��u�u�[�#�f�+��"8�9�G�&+�C��K�&8�9�&8��H���&8�F�9�
�U�U�:�s�
#�F�
�U�U�9�c�
"�E�
�U�U�?�C�
(�E����Q��7�4�@�I�C���H�g��M�M�&�S�	��M�E����V�t�8�"�6�#�,�/��1����V�^�s�%�#�E�#�;�/��1����V�^�s�%��@�����$����*�7�1�+�6(�(0�z�1B�5��+�O�P��O�O�Q�O���M�M�$�c�M�"��L�L��b�	��d�L�K��O�O�F�(�d�O�;����2�3����y�!����C�D��L�L��S�L�!��L�L�
8����D����F�5��+�\�%���J�	P����������b�#�W�2��C:s�=Ic�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�s(��24�24�T�24�D�24�s�24�t�24rc���VPR/4pVPR.4pVPR.4pVPR.4pV'gR#^RIpVPRR4pVPRR14p	VPR	\V44p
VPR
R4p\P!^^R2R7wr�V
^,pVPVR
RRR7VPVRRRRR7VP
R4VPR4VPR4VP^R7VPRRR7V
^,pVPVRRR7VP^RRR R!7VP
R4VPR"4VPR#VR$
R%24VPRRR7V
^,pVPV^RR&R'7VP
R"4VPR(4VPR)4VPRRR7VPR*V
R+VR$
R,V	R-VR.,R/2	^R7VP4\V^;R0W4R#)3z,Fig 59: Observer non-interference null test.�fig59_non_interference�
snr_before_db�snr_after_db�delta_dbN�max_perturbation_dbr[�measurement_floor_db�n_trialsrJr$rRz
SNR beforer�r)rYr]r�z	SNR afterr�r�)rYr]r]r��Trialr�z'SNR Before vs After
DSFB-RF Observationr�Trgr�r�r�r.r$r)r]r]r�u
ΔSNR (dB)zPerturbation per Trial
(max = r3z dB)r
)r r]rX�Countz9Perturbation Distribution
(all zeros: Copy ABI guarantee)u0Fig 59 – Observer Non-Interference Null Test
[z trials; max_perturbation = z
 dB; floor = z dB; verdict: :N�(Nu; §NON-INTRUSION]�non_interferenceg�b�r�)r�rgr�r:r�r�rurvrxryr�r�r"r�rzr@)rRr*r+r{�
snr_before�	snr_after�deltarh�max_p�floor�trialsrJr<r�r�r	r
s&&&              r�
plot_fig59r:�sF�����)�2�.�A������+�J����~�r�*�I����z�2�&�E����
�U�U�(�#�
.�E�
�U�U�)�6�
2�E�
�U�U�:�s�5�z�
*�F�
�U�U�9�b�
!�G����Q��7�3�I�C��q�'�C��H�H�Z�|�9��H�E��H�H�Y�k��d�s�H�S��N�N�7���N�N�:���M�M�<�=��J�J��J���H�H�T��H���q�'�C��H�H�U�)��H�,��K�K�����K�5��N�N�7���N�N�<� ��M�M�3�E�#�;�d�C�D��H�H�T��H���q�'�C��H�H�U��9�C�H�8��N�N�<� ��N�N�7���M�M�N�O��H�H�T��H���L�L���8�/��c�{�;��'�����~�5G�	I��	��
������b�$�g�3rc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrrs.��N3�N3�T�N3�D�N3�s�N3�t�N3rc���VPR/4pVPR.4pV'gR#^RIp/pVF'pVR,pVPV^4^,Wh&K)	/p	/p
VFepVR,pW�9d^W�&W�,pWh,pW�^,
R,,
p
^V,
pW�3W�R,&W�;;,^,
uu&Kg	\P!R:R7wppVP	R4VPR	4VUu/uFqwR,VbK	ppVF`pVR
,FPpVV
9gKW�R,,wppV
V,wppVP
RVV3VV3\RR
RRR7R7KR	Kb	RRRRRRRRRRRR/pVF�pW�R,,wr�VPVR,R4pVR ,'dR!MR"pVPW�R#VV^R$RR%7VPW�R&,
VR',R(R)R*R+R,7VPW�R-,VR,R(R.^VR/7K�	VP4FwppVP..V^PVR07K	VPR1^^R;R27VPR<R34VPR4^4pVPR5VR6\V4R72^	R87VP4\!V^<R9W4R#uupi)=z/Fig 60: Formal proof hierarchy network diagram.�fig60_proof_hierarchyr�N�levelrrrR�equalr�
depends_onr$r%r\r
rb)r(r]r�rXr�Kanir��Axiomz#4a148czLanguage Guaranteer	zDesign Propertyr�zCompositional Proofz#b71c1cz	Unit Testz#558b2f�
proof_typez#666�provedrrNiXr$rWr�rYr�r1r�T)r�r�r�r�r\r�r�)rVrWrYzlower center)rcr�r�rbr��total_provedu>Fig 60 – Formal Proof Hierarchy: Property Dependency Graph
[�/uD properties proved; L0=Axioms, L3=Engine; src/kani_proofs.rs; §XIX]r��proof_hierarchyr)rr2g333333�)r�rgr:r��
set_aspectr�r5r6ror�r"ryr�r�r�rzr@)rRr*r+r{r�rh�level_countsr�r��level_indexr�r(�countrNr�r<r��
id_to_node�depr�r�r=r�r�r]rX�ptr:r�s&&&                          r�
plot_fig60rOs�����(�"�-�A�
�E�E�'�2��E�����L�
��
�w�Z��'�+�+�B��2�Q�6�����K�
�C�
��
�w�Z��
� ��K�O��o��� ���1�9��#�#��
��F���v��d�G����1�����l�l�7�+�G�C���M�M�'���G�G�E�N�',�,�e��D�'�1�*�e�J�,�
���\�?�?�C��c�z��t�W����B��S����B����B��B�x��R��#�t�6�'*�#� 7��8�	#��	�	��	��	��	��	��	�
�K����T�7�|�������,���8���(������
�
�
�1�3�%��q�!�c�	�	3�
����t�8�Q�w�Z�H���4�	�	)�
����t�8�Q�|�_��h��%�	�	)���$�$�&���C�
�
�
�2�r�S�B�b�
�1�'��I�I�.�q�1�)��+��K�K��c��
�E�E�.�!�$�E��L�L���7�!�C��J�<� %�	&��	��
������b�#�W�2��[-s�K-c�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrrUs(��$1�$1�T�$1�D�$1�s�$1�t�$1rc
���VPR/4pVPR.4pVPR.4pV'd	V'gR#VPR^4pVPR^4pVPR^4pVPR^4p	\P!R1R	7wr�VPWER
RRR
7VP	WERRR7VPVRRRVR
R2R7VPVRRRRVR
R2R7VPVRRRVR
R2R7VP
RRRRR7VPR 4VPR4VPR!4VP^R"7VPR#R$R%7VP^R&4VPR'R(4pV
PR)VR*VR
R+VR
R,VR
R-V	R.
R/2^R"7V
P4\V
^=R0W4R#)2z.Fig 61: Structural precognition lead-time CDF.�fig61_lead_cdf�lead_time_bins_ms�
cdf_valuesNr��
p5_lead_msr��false_alarm_fractionrRrr��CDFr[r�rGr�r�zp5 = r�r�rr�rrz	median = )r]r]r�rYr_zp95 = rr\)r]r�r]z&Structural precognition lead time (ms)zdStructural Precognition Lead-Time CDF
(time between 1st Grammar-Boundary and 1st Envelope-Violation)r�Trgr�r��dataset_anchorr$u2Fig 61 – Structural Precognition Lead-Time CDF
[z; p5=z	 ms; med=z	 ms; p95=z ms; FA=r�u; §V-A Theorem 1]�
lead_time_cdf)�rf)r�r:r�r�rPrOr�rurvrxryr�r�r�rzr@)
rRr*r+r{r �cdfr��p5r��far<r�r�s
&&&          r�
plot_fig61r^Us������!�2�&�A��5�5�$�b�)�D��5�5��r�"�C��s��
�%�%� �!�
$�C�
�%�%��a�
 �B�
�%�%�
�q�
!�C�
�%�%�&��
*�B��l�l�8�,�G�C��G�G�D�#�Y�e�G�<��O�O�D�T��O�;��J�J�r�c��E�"�S���:M�J�N��J�J�s�d�(�s� ��S�	��-��/��J�J�s�c���s�3�i�s�6K�J�L��J�J�s�&�S�D�J�9��M�M�:�;��M�M�%���L�L�R�T��I�I�q�I���G�G�D��G���K�K��4��	
�����	$�B��L�L���4�u�R��H�I�c�#�Y�/��3�i�x��3�x�'9�	;��	��
������b�/�7�0rc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr|s.��@3�@3�T�@3�D�@3�s�@3�t�@3rc
�(�VPR/4pVPR.4pV'gR#VUu.uFqUR,NK
	ppVUu.uFqUR,PRR4NK	ppVUu.uFqUR,PRR4NK	ppVUu.uFqUR,PRR4NK	p	pVUu.uFqUR	,NK
	p
pVUu.uFqUR
,NK
	ppVUu.uFqUR,NK
	pp^RIp
\P!^^R4R^^./R
7wr�VwppVPR4\
\V44Uu.uFSpVV,VV,R,VV,R,V	V,R,V
V,R,VV,R
.NKU	ppVPV.R5ORR.R6OR7pVPR4VP^4\V4Fdwpp\PPV4p\
^4F0pVV^,V3,P.VR,ORN54K2	Kf	V
P!\V44pVUu.uF"p\PPV4NK$	ppVP!VVVRRR7VP#^R4VP%V4VP'V^R7VP)R4VP+R4VP-RR R!R"R#R$7VP/^R7VP1R%R&R'R(7\V4F%wppVP3VR),VVR
R^R*7K'	VPR+^4pVPR,R-4pVP5R.VR/
R0VR1,R22^R7VP74\9V^>R3W4R#uupiuupiuupiuupiuupiuupiuupiuupiuupi)7z'Fig 62: Panel defence scorecard matrix.�fig62_panel_scorecardr�Nr�criticism_shortr	�response_short�
evidence_type�crate_artifact�
paper_section�
confidencer}r~r:NrN:N�Nr.r�r�)r�r�r�rcrkF:Nr�Nr?r$rr�r�r�zSelf-assessed confidencezConfidence per
panel criticismr�r\r�rbz0.9)r]r]r�rYTrNrgrr�r��overall_confidencerJr$u_Fig 62 – Panel Defence Scorecard (XIX-A through XIX-F + Kani + SWaP-C)
[overall confidence = rzu	; §XIX; r�r]�panel_scorecard)�r�)�ID�	Criticism�Response�Evidence�Artifact�Conf)r�r�r�r�)r�r�rgr:r�r�r�r�r�r�r�r�r�RdYlGn�
set_facecolorr�r�rrr�rurxrOryr�r�r�rzr@)rRr*r+r{r�r��ids�
criticisms�	responses�ev_types�	artifacts�sectionsr�rhr<r�r�rIr�r�r��confr]r#r�rVr�overallrJs&&&                          r�
plot_fig62r||s������(�"�-�A��e�e�I�r�"�G���$+�,�G�q�T�7�7�G�C�,�EL�M�W��&�'�/�/��d�;�W�J�M�DK�L�G�q�%�&�.�.�t�T�:�G�I�L�CJ�K�7�a�_�%�-�-�d�D�9�7�H�K�07�8��1�%�&�&��I�8�/6�7�w�!�_�%�%�w�H�7�,3�4�G�q�\�?�?�G�E�4�����Q��7�*8�1�a�&�)A�C�I�C��N�F�F��K�K����s�3�x���!�A�

�Q���A��s�#�Y�q�\�#�%6�	�!��S�	�9�Q�<��,��q��#��	A� �	��
�,�,��Q���
���C����5�!����Q���U�#���4����
�
�d�#���q��A���A��q��M�'�'�(:�%��)�(:�T�(:�;��$�
�I�I�c�#�h��E�(-�
.��1�c�f�f�m�m�A���F�
.�
�K�K��u�F�c�S�K�I�
�O�O�A�t��
���e��
���3���+�
���0�1�
���6�7�
�N�N�3�f���E�N�J�
�M�M�1�M��
�K�K��3�c�K�*��%� ���1����A��H�a�A�c�7��1��E�!��e�e�(�!�,�G��u�u�Y��#�G��L�L�!�!(��
�Y�w�s�|�n�A�	G����������b�#�W�2��s-��M��L��K��8��7��4����*/s6�O'�
!O,�1!O1�!O6�?O;�P�-P�AP
�9(Pc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�s.��@4�@4�T�@4�D�@4�s�@4�t�@4rc�a�VPR/4pVPR.4pVPR^P4pVPRR4pVPR.4pVPR.4o\V4Uu.uFq�V,NK
	p	p\P!^^RARR	7wr�.RBOp.RCOp
Vwr�\	V4F�wppVPR
.4RVpVR,R
8XdRMRpVR,R
8XdRMRpVPV	R\
V4VVV\
V4,,VVRV
V\
V
4,,R7K�	V'd$VPV	R\
V4VRRRRR7VPRRRRRRR7VPR^	R7VP^^RR7VPR ^R7^R!^R"^R#/p\	V4FbwppVPR$.4RVpTPV	R\
V4TR%VV\
V4,,V^8dR&MRR'R(V2R)7Kd	VP.RDO4VP.REO^R7VPR*VR+2^	R7VPR,^	R7VP^^R-7R.PV3R/lV44pVPR0R14pVPR2R34R4,pT
P!R5R5R6T;'gR7R8VR9V2R:R\#R;R<RR=7R>7V
P%.RFOR?7\'V
^?R@W4R#uupi)GuRFig 63 – Swarm Scenario A: BFT false-positive suppression (LNA thermal runaway).�fig63_swarm_scenario_ar��n_time_steps�ms_per_stepr�
consensus_dsa�dsfb_quarantinedTr�rN�failure_mode�LNA_Thermal_Runawayrr�r\rar4zk-rzBFT Consensus DSA)r�rXrY�crimsonr�r�r�uτ = 2.0 (Stage-III)rr�rar�u�DSFB Swarm Scenario A — BFT False-Positive Suppression
Node #4 LNA thermal runaway: DSA spikes, 4/5 peers remain Admissible; BFT consensus stays Admissible (bft_f=1)rrLr�grammar_severitiesrrrrn�UAV-)r_r]r�rXrYuTime (ms)  [Δt=z	 ms/step]z
Grammar Stater�z, c3�n<"�TF*qR,S9gKRVR,RVR,2x�K,	R#5i)�node_idr�u→�final_governance_tagNr�)r�r�rbs& �rr��plot_fig63.<locals>.<genexpr>�s;������A�I�,�+�5�	<�$�q��|�n�C��"8� 9�:�;��s�5�5�standard_alarm_firesFr5r$:N�xNr�zGovernance: zNone quarantinedz  |  Std alarm fires: �  |  Prov: r�r2�lightyellow�r�fcrX�r�r�rkr��swarm_scenario_a)�rd)�#2196F3�#4CAF50�#FF9800�#9C27B0�#F44336)zUAV-0 (Nominal)zUAV-1 (Nominal)zUAV-2 (Nominal)zUAV-3 (Nominal)zUAV-4 (LNA Runaway)r�rK)r�rr�r�)r�r�r:r�r�r�r�r�rvryrxr�rr�rur�r�r6rzr@)rRr*r+r{r��n_steps�ms_step�cons_dsar��t_msr<r��coloursr��ax_dsa�ax_sevr��noderr�r��
sev_labels�sev�tag_str�	std_firesrGrbs&&&                       @r�
plot_fig63r��sz������)�2�.�A�
�E�E�'�2��E��e�e�N�B�'�G��e�e�M�3�'�G��u�u�_�b�)�H��%�%�*�B�/�K�!&�w��0��A��K�K��D�0����Q��7�4�@�I�C�E�G�:�F��N�F��e�$���D��h�h�|�R�(��'�2����(�,A�A�S�s���.�)�-B�B�T������D��#�c�(�O�S���S��\�8I�0J��b��F�2��F��;K�4L�	�	N�	%�����D��#�h�-�(�(�D�S��-�	�	/��N�N�3�i�C�C�s�J`�N�a�
���k�A��.�
�M�M�1�1�,�M�7�
���	3��	���\�1�j�!�[�A�J��e�$���D��h�h�+�R�0��'�:�����D��#�c�(�O�S��!�"�s�7�|�"3�4��Q���C���R�D�k�	�	3�%�
���i� �
���B�Q��O�
���(��	��;�a��H�
���o���2�
�M�M�1�1�M�%��i�i�����G����,�e�4�I��5�5��r�"�4�(�D��H�H�T�4��G�9�9�'9�:�;!�!*��,��V������M��M�
�O����/��*���b�$�g�3��q1s�;Mc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr
s.��m4�m4�T�m4�D�m4�s�m4�t�m4rc�va)�VPR/4pVPR.4pVPR^d4pVPRR4pVPR^4o)VPRR4pVPR	4pVPR
4p	VPRR4p
\V4Uu.uFq�V,NK
	pp\P!^^RhR
7wr�.RiOpVRj,p\	V4F|wppVPR.4RVpVR,S)8XdRMRpTPVR\
V4TVV\
V4,,TRRTVR,S)8XdRMR2R7K~	VPVRRRRVR
2R7V	e(VPW�,RRRR W�,R
R!2R7Ve)VPW�,RRR"R#W�,R
R!2R7M4Vf1VPR$R$R%VPR&R'^R\R(R)R*R+7R,7	VPR-^R.7VPR/^R.7VPR0^R.7VPR1^R27VRk,p\!V)3R3lV4R4pV'd�VPR4.4RVpVP#VR\
V4VR5VS),RR67VP%VR\
V4^VR5R7VS),R87V	e:VPW�,RRRR9W�,R
R!2R7VP^R.7VP'.RlO4VP).RmO^R.7VPRS)R:V
2^R.7VPR/^R.7VRn,pR;V	e	W�,MRR3R<Ve	W�,MRR3.p^^.p\+VV4FtwpwpppVe!VP-VVR=VR>VR?VR
R@2RA7K.VP-VWV,R=VRBVRC2RA7VPWV,RD,VRERFRF^	VRGRH7Kv	VP'^^.4VP)R<R;.^R.7VPRI^R.7VPRJ^R.7VP^R.7VRo,pVP/RK4VU u.uF p RV R,2V RL,V RM,3NK"	p!p VP1V!.RpORFRFRN7p"V"P3RO4V"P5RP4V"P7^RQ4\	V!4FMwp#p$V$^,p%RRV%9dRSMRTp&\^4F$p'V"V#^,V'3,P9V&4K&	KO	VPRU^^RV7VPRWR4RX,p(T
P;RYT	;'gRZT;'gR[8dR\MR]R^2^R.7V
PR_R`RaV(2^Rb\RcRdRDR+7Re7V
P=.RqORf7\?V
^@RgW4R#uupiuup i)ru7Fig 64 – Swarm Scenario B: silent LO drift detection.�fig64_swarm_scenario_br�r�r�r�
lo_node_id�standard_alarm_thresholdr��standard_alarm_fires_at�dsfb_lo_precursor_at�lo_clock_class�UnknownrRrNr�r�rar�z (LO)r$)r]r�rXrYr�rr�zStd alarm @ DSA>r�r��	darkgreenrr�zDSFB precursor t=raz-.zStd alarm t=r�zStd alarm: SILENT
(never fires)r0r1r��	mistyroserbr�r�zDSA Time Series (all nodes)r�z	Time (ms)rr�r�c3�F<"�TFqR,S8XgKVx�K	R#5i)r�Nr�)r�r��lo_ids& �rr��plot_fig64.<locals>.<genexpr>-
s����C�E�q�y�\�U�-B���E�s�!�
!r�rr)r_r]r�r?rszDSFB detects @ t=z, Grammar State (LO Drift Node)
Clock class: zDSFB LO PrecursorzStandard Alarmr�rnr4r�)r�r]rXrYr�z
: NEVER FIRESr�SILENTr�r�rzDetection latency (ms)zDetection Timeline Comparisonrr�r�r�Fr�r�	Precursor�#ffe0e0�#e8f5e9zPer-node Governance Tagsr�r5�N�NuvFig 64 – Swarm Scenario B: Silent LO Drift Detection
DSFB detects RecurrentBoundaryGrazing + LoInstabilityPrecursor i�i'�before�whileu' standard alarm stays silent  |  §XX-Br�r��Prov: Tr2r�r�r��swarm_scenario_b)r�rd)r�r�r�r�r�)r�r�)r�r�r�rK)r�r�)r�r�)�NodezFailure Mode�Governance Tag�r�g���Q��?r�r
) r�r�r:r�r�r�r�r�rOr�r�r6rxrurvryr�r�rPrr�r�r�r�r�r�r�r�rsr�rzr@)*rRr*r+r{r�r�r��std_thr�std_at�dsfb_at�clock_classr�r�r<r�r�r�r�r�rr�r	�lo_node_datar�r
ror��yirYrOr:r�r��tag_rowsr��row_ir�tag�colour�col_jrGr�s*&&&                                      @r�
plot_fig64r�
s�������)�2�.�A�
�E�E�'�2��E��e�e�N�C�(�G��e�e�M�3�'�G��e�e�L�!�$�E��e�e�.��4�G��e�e�-�.�F��e�e�*�+�G��%�%�(�)�4�K�!&�w��0��A��K�K��D�0����Q��7�3�I�C�E�G��t�*�C��e�$���D��h�h�|�R�(��'�2����O�u�,�S�#������i�s�3�x��#�W�R�#�g�,�5F�-G�B��T�"���i��%�9O�g�UW�-X�#Y�	�	[�%�
�K�K��y�S�T�CS�T[�\_�S`�Aa�K�b������G�%�[�S�S�-�g�o�c�-B�"�E�	�	G�
�����F�$�I�#�$�(����(<�B�?�	�	A�	������t�?��=�=�W��� �t�W��TW�'X�	�	Z��M�M�/�!�M�<��N�N�Y�!�N�,��N�N�;��N�+��J�J��!�J�$��t�*�C��C�E�C�T�J�L�����3�R�8��'�B������i�s�3�x��#�V�7�5�>�c��R�����i�s�3�x��!�S�$�D����	�	H����K�K��)���� 1�'�/�#�1F�b�I�
�
K��J�J��J�"��N�N�9�����?�!��L��M�M�D��� "�"-��0�:;��=��N�N�;��N�+��t�*�C�	�G�4G�w�0�T�S^�_�	�F�4G�v�/�T�S\�]��F���F�E�#&�u�f�#5����U�E�3����H�H�R��t�3�d�U�G�SU�V[�\_�U`�`c�Jd�H�e��H�H�R��*�4�s�#�#�W�M�2�
�
4��H�H�W�&��,�b�(�x�H��s�v�
�
?�
$6��N�N�A�q�6�����)�+>�?�!��L��N�N�+�a�N�8��M�M�1�A�M�>��J�J��J���t�*�C��H�H�U�O�� ��A���)��~�&��.�(9�1�=S�;T�U��
� �

�)�)��<��h���C�
���5�!����S���I�I�a�����)�
��s��!�f��)�S�0��i���1�X�E�����E�"�#�1�1�&�9��*�
�M�M�,�q�a�M�@��5�5��r�"�4�(�D��L�L�J����3�6�>�>�T�:�8��
H�I1�	2�����H�H�T�5�F�4�&�/�A�D���M��M�
�O����,��-���b�$�g�3��E1��L s�/X1�7&X6c�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrrt
s.��C5�C5�T�C5�D�C5�s�C5�t�C5rc
��VPR/4pVPR.4p\P!^^R6R^^./R7wpwrgVPR4.R7Op.p	VF�p
T	P	V
PRR4\V
PRR44V
PR	^4R

V
PR^4R

\V
PR^44V
PR
R4V
PRR4V
PR4'dRMR.4K�	V	'dMVP
W�RRR7pVPR4VP^4VP^R4^p^p
\V4F�wr�V
PR
R4pV
PRR4pV
PR4'dRMRpRV9dRMRpXV^,X3,PV4W�^,X
3,PV4K�	VPR^	R7VPR^4pVPR^4pVPR^4pVPR ^4p.R8OpVVVV.p.R9OpVPVVVR!R"R#7p\VV4FWwppVPVR$,VP!4VP#4^,,\V4R^
R%R&7KY	VP%R'^	R7VP'^\)V4^,4VPR(^	R7VP+4VPR)R4R*,pVP-R+^R7VPR,R-R.V2^\/R/R0R!R17R27VP1.R:OR37\3V^AR4W4R5#);u8Fig 65 – Combined governance report (Scenarios A + B).�fig65_governance_reportr�r}r~r�scenarior$r��	final_dsar��robust_z�local_grammar_sev�governance_tag�standard_alarm�requires_actionz[*]r�r�r�Fr�r�r��FIRESz#ffd0d0r�u.Per-node Governance Report — Scenarios A + Br��	n_flaggedr �false_positives_suppressed�silent_threats_detectedrra�r]r�rXrr�)r�r�r�r1zGovernance Summaryr5r�u�Fig 65 – Combined Swarm Governance Report (Scenarios A + B)
BFT consensus + typed tags vs conventional DSA > threshold alarm  |  §XX-C Table XIIr�r�r�r2r�r��r�rkr��governance_reportN)rkr])�Scenarior��DSAzRob-Z�Sevr�z	Std AlarmzAction?)zTotal NodeszDSFB FlaggedzFalse Positives
SuppressedzSilent Threats
Detected Early)z#90A4AEz#FF7043z#66BB6Az#AB47BC)r�rr�r�)r�r:r�r�rrr�r�r�r�r�rsrxr�r�r�r�r�rurr�r�r�r6rzr@)rRr*r+r{r�r<r�rI�col_headers�	cell_datar~r��tag_col�	alarm_colr�r��alarm�tag_fc�alrm_fcr�r �fp_supp�si_det�
categories�counts�bar_coloursr�r�r%rGs&&&                           r�
plot_fig65r�t
s������*�B�/�A��5�5����D��L�L��A�w�7E��1�v�6N�P��C�	�&��K�K���+�K��I�
�����
�E�E�*�b�!�����i��$�%��u�u�[�!�$�S�)��u�u�Z��#�C�(�����)�1�-�.�
�E�E�"�B�'�
�E�E�"�B�'��U�U�,�-�-�E�4�	
�		����l�l�I�$,�(��<�����u�%�������	�	�!�S�����	��d�O����e�e�$�b�)�����&��+�� �u�u�%6�7�7�)�Y��&�%�/�)�Y���U�Q�Y�� �!�/�/��7��Q�Y�	�"�#�1�1�'�:�
$����E�PQ��R����{�A�&�I����y�!�$�G����3�Q�7�G����0�!�4�F�4�J��9�g�v�6�F�>�K��;�;�z�6��S�PT�;�U�D��d�F�#���Q����A��H�c�i�i�k�C�N�N�,<�q�,@�@���F�x�"��	�	I�$����g���*�
�O�O�A�s�6�{�Q��'�
���)�A��6�
�����5�5��r�"�4�(�D��L�L�	`�����H�H�T�5�F�4�&�/�A���M��M�
�O����,��-���b�%�w�4rc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�
s(��51�51�T�51�D�51�s�51�t�51rc�a�VPR/4pVPR.4p\P!R.R7wrVVPR4.R/Op.pVF�oTP	SPRR4SPRR4RPV3R	l\
^\^�\SPR
R444^7444RPV3Rl\
^\^�\SPRR444^7444SPR
4'dRMR.4K�	V'EdVPW�RR.R0OR7p	V	PR4V	PR4V	P^R4\V4Fdwp
oSPR
R4pV'dRMRpW�^,^3,PV4W�^,^3,PR4Kf	\
\V44F9p
V	^V
3,PR4V	^V
3,PRRR7K;	VPRR4pVPRR4pVP!RVR ,2^^R!7VP#R"R#R$V2R%\%R&R'R(R)7R*7VP'.R1OR+7\)V^BR,W4R-#)2uKFig 66 – Honest Bounds: physics limits and DSFB response (§XX Table XI).�fig66_honest_boundsr�rRr�threat_classr$�
snr_conditionr	c3�Z<"�TF pSPRR4W^7,x�K"	R#5i)�dsfb_behaviourr$N�r��r�r�r�s& �rr��plot_fig66.<locals>.<genexpr>�
s-�����P�A����&��+�A��d�3�P���(+r�c3�Z<"�TF pSPRR4W^7,x�K"	R#5i)�honest_acknowledgmentr$Nr�r�s& �rr�r��
s-�����W�A����-�r�2�1�r�T�:�W�r�r��mitigation_available�Yes�Nor�r�)r�r�r�rc�	colWidthsFr�rr�z#fff3e0z#e3f2fdz#37474Frhr�)r]r��
crate_noter5uZFig 66 – Honest Bounds: Physics Limits and DSFB Operating Constraints
§XX Table XI  |  :N�dNr�r�r�r�r�r2r�rr�r�r��
honest_boundsN)ryr])zThreat Classz
SNR ConditionzDSFB BehaviourzHonest Acknowledgmentz
Mitigated?)r]r[g���Q��?��Q����?rFr�)r�r:r�r�rr�r�rNr�r�r�r�r�r�rs�set_text_propsrxr�r6rzr@)rRr*r+r{r�r<r�r�r�r�r��mit�fc_lastr�rrGr�s&&&             @r�
plot_fig66r�
s�������&��+�A��e�e�I�r�"�G��l�l�7�+�G�C��G�G�E�N�:�K��I�
�����
�E�E�.�"�%�
�E�E�/�2�&��I�I���q�#�c�3�q�u�u�5E�b�/I�+J�"K�R�P��
�
�I�I���q�#�c�3�q�u�u�5L�R�/P�+Q�"R�TV�W��
��U�U�1�2�2�E��

�
	�� �y��h�h�	� &�H�"@��B��	���u�%�������	�	�!�S��!�'�*�H�E�1��%�%�.��6�C�#&�i�I�G����A���-�-�g�6����A���-�-�i�8�	+��3�{�+�,�E���E�
�O�)�)�)�4���E�
�O�*�*��V�*�L�-����|�R�(�J�
�U�U�<��
$�D��L�L�	�'��-�.�	0������H�H�T�5�F�4�&�/�C���M��M�
�O����,��-���b�/�7�0rc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr�
s(��03�03�T�03�D�03�s�03�t�03rc��VPR/4pVPR.4pVPRR4p\P!R6R7wrg.R7Op.R8Op	R9RR:RRR	/p
\V4EF;wr�VPR
.4p
VPR.4pVPRR
V24pVPRR4pVPRR4pV
'd	V'gKuVP	W�W�\V4,,W�\V	4,,^RVRV2R7V
^,V^,ppVV
R;,.pVVV
R;,V,V,,.pVP	VVRRW�\V4,,RV
PVRV24R7EK>	VP
RVR2^
R7VPR^
R7VPRRR7VPR R!R"R#R$7VPR%^R7VPR&R'4pVPR(R'4R),pVPR*R+R,VR-V2R.\R/R0RR17R27VP.R<OR37\V^CR4W4R5#)=uTFig 67 – Allan deviation oscillator classification benchmark (IEEE Std 1139-2008).�fig67_allan_benchrB�	tau_unitsrWrRzslope -1 (White FM)rzslope -0.5 (Flicker FM)zslope +0.5 (Rand Walk FM)r��sigma_y�oscillator_classzOscillator �
classified_asr��slope_alphar[rWu
  → classified: )r]rXrZr�rYr�r
zslope )r�r�r]rXrYuIntegration time τ  [r]r�uAllan Deviation σ_y(τ)r�r=r�Tr�r�r)r�r�rXu�Fig 67 – Allan Deviation Oscillator Classification Benchmark
Three canonical IEEE Std 1139-2008 classes; classified by dsfb_rf::heuristics::classify_clock_instability()  |  §XX-B�	referencer$r5r�r�r�zRef: r�r�r2r�r�r�r��allan_dev_benchN)r�r])z#1565C0z#2E7D32z#B71C1C)rrW�^g�r.r/)r�rr�r�)r�r:r�r�r�r�rurvryr�rxr�r6rzr@)rRr*r+r{rBrr<r�r��markers�alpha_slopes�ci�curver�r
rYr��alpha_v�t0�sy0�
slope_taus�slope_sy�refrGs&&&                     r�
plot_fig67r�
s������$�b�)�A�
�U�U�8�R�
 �F����k�3�'�I��l�l�6�*�G�C�0�G��G��/��7P��5�7�L��v�&�	���)�)�F�B�'���)�)�I�r�*���)�)�.�+�b�T�0B�C���)�)�O�S�1���)�)�M�3�/���7��
�	�	�$��S��\� 1�2� �c�'�l�!2�3��3���7K�C�5�.Q�	�	S�
�q�'�7�1�:�C���$�r�(�^�
��3�$�r�(�R�-�G�!;�;�<��
�	�	�*�h�4�C��S��\� 1�2�#�$�(�(��F�7�)�2D�E�	�	G�!'�(�M�M�*�9�+�Q�7�"�M�E��M�M�,�r�M�:��I�I�s�
�I�.��G�G�D��3�c�G�2��L�L�	U��	��
�%�%��R�
 �C��5�5��r�"�4�(�D��H�H�T�5��S�E��T�F�
+����M��M�
�O����/��*���b�#�W�2rc�@�V^8�dQhR\R\R\RR/#r�r�)rs"rrr%s.��A:�A:�T�A:�D�A:�s�A:�t�A:rc��VPR/4pVPR.4pVPRR4pVPR^4pVPR^4pVPR.4pVPR.4p	\P!^^RCR	.RDO/R
7wr�V^,pVU
u.uFq�PRR4NK	pp
VU
u.uFq�PR
^4NK	pp
VU
u.uFq�PRR4NK	pp
VUu.uFpV'dRMRNK	ppVPW�VRRR7p\	VV4FPwppVPVR,VP
4VP4^,,VR2R^R7KR	VPR^R7VPRVRVRVR2RR7VP4TP^V'd\V4R ,M^�4VP.REO4pVPVV^Z\R"R#R$7R%7VPVR&2^R7V^,pVP!R'4R(P#R)V44pVPR*R+RFV,VP$R,R-RR.\R/R0R1R27R37	VPR4^R7V^,pVP!R'4R(P#R5V	44pVPR*R+RGV,VP$R,R-RR.\R/R6R1R27R37	VPR7^R7VPR8R4R9,pV
P'R:^R7V
PR!R;R<V2^\R=R>RR27R?7V
P).RHOR@7\+V
^DRAW4RB#uup
iuup
iuup
iuupi)IuHFig 68 – Non-intrusion manifest: stack breakdown and governance chain.�fig68_non_intrusionr��total_bytesi��heap_alloc_bytes�
unsafe_blocks�governance_chain�integration_checklistr}r~�	componentr$r��hot_pathFz#EF5350z#42A5F5rDrar�r�Br�r�zBytes (field-sum)r�zStack Memory Breakdown
Total: zB  |  Heap: zB  |  Unsafe: u,
  ■ Hot path (red)   ■ Cold path (blue)r�r�r�rrh)r�r�)rr��
wedgepropszB totalrz

c3�,"�TF
pRV2x�K	R#5i)z  Nr�)r�r�s& rr��plot_fig68.<locals>.<genexpr>Ms���?�Y�T�r�$��[�Y���rr[r1r��	monospacez
round,pad=0.5z#F5F5F5r�r�)r�r�r�r��
fontfamilyrkzRead-Only Governance Flowc3�,"�TF
pRV2x�K	R#5i)z  [x] Nr�)r��items& rr�r,Ws���C���v�d�V�_��r-z#E8F5E9zDeployment Checklistr5r�uuFig 68 – Non-Intrusion Manifest
504-byte stack · 0-byte heap · 0 unsafe blocks · read-only tap · §XIX-A §XX-Dr�r�r2r�r�r��non_intrusion_manifestN)rr])rrr)rr�r<ru�Governance Chain
────────────────────────────────────────

u�Integration Checklist
──────────────────────────────────────

)r�rr�g��Q��?)r�r:r�r�r�r�r�r�rurxr�rr��
inset_axesr�r6r�r�r�r�rzr@)rRr*r+r{r�r"�
heap_bytesr$�	gov_chain�	checklistr<r�r�rV�
comp_names�
comp_bytes�hot_maskr9�
colours_bcr�r�r<�ax_pier	�
chain_textr
�
check_textrGs&&&                         r�
plot_fig68r>%s������&��+�A�
�E�E�,��#�E��E�E�-��-�K��E�E�,�a�0�J��E�E�/�1�-�M��E�E�,�b�1�I��E�E�1�2�6�I����Q��7�+9�?�*K�M�I�C��q�'�C�27�8�%�Q�%�%��R�(�%�J�8�-2�3�U��%�%���#�U�J�3�49�:�E�q�%�%�
�E�*�E�H�:�9A�B��A�q�)�i�/��J�B��8�8�J�*�T�QU�8�V�D��d�J�'���Q�����S��#�)�)�+����(8�1�(<�<��3�a��X��	�	3�(��N�N�&��N�3��M�M�
)�+��l�:�,�O� �/�"6�	7��	��
�����L�L��Z�C�
�O�c�)�S�A�
�^�^�3�
4�F�
�J�J�z�*�����@��B�
����}�G�,�q��9��q�'�C��H�H�U�O����?�Y�?�?�J��H�H�T�4�C�j�P��}�}��6�C�#���I�S�I�
�K��M�M�-��M�:��q�'�C��H�H�U�O����C��C�C�J��H�H�T�4�H�:�U��}�}��6�C�#���I�S�I�
�K��M�M�(�1�M�5��5�5��r�"�4�(�D��L�L�	^�����H�H�T�5�F�4�&�/�A���M��M�
�O����,��-���b�*�G�9��e9��3��:��Bs�,N:�N?�,O�O	�O	c��\P!RR7pVPRRRR7VPRRRR7VPR	\^�R
R7VPR\R
RR7VP	4p\VP4pVP4'g1\RVR24\R4\P!^4\VR4;_uu_4p\P!V4pRRR4\VP4pVP'd
VPM\!\"P%44p\R\'V4RVR24\RVP(24\4VF>pV\"9d\RVR24K\"V,!XWQP(4K@	\4\R\'V4RVR24R# +'giEL	;i \*d1p\RTRT24^RIp	T	P/4Rp?K�Rp?ii;i)z-DSFB-RF unified figure generator (68 figures))�descriptionz--dataz#dsfb-rf-output/figure_data_all.jsonzCInput JSON data file (default: dsfb-rf-output/figure_data_all.json))�default�helpz--outzdsfb-rf-output/figsz0Output directory (default: dsfb-rf-output/figs/)z--dpiz,Figure DPI (default: 150; use 300 for print))�typerArBz--figr�z&Specific figure numbers (default: all))rC�nargsrBzERROR: z not found.zCRun:  cargo run --features std,serde --example generate_figures_allr~Nz
Rendering u
 figures → rFzDPI = z  WARNING: fig z not defined, skipping.z  ERROR in fig r4zDone. z figure(s) written to )�argparse�ArgumentParser�add_argumentr,�
parse_argsrrR�existsr9�sys�exit�open�json�load�outr<rk�FIGURESr�r�r+�	Exception�	traceback�	print_exc)
�parser�args�	data_path�fhrRr*�selectedr(r�rRs
          r�mainrY�s���
�
$�
$�1`�
a�F�
����+P�b��d�
����+@�O��Q�
�����S�K��M�
�����3�E��G�����D��T�Y�Y��I������
��	�{�+�.�/�
�S�T������	
�i��	�	���y�y��}��
��D�H�H�~�G��8�8�8�t�x�x������)?�H�	�J�s�8�}�o�]�7�)�1�
=�>�	�F�4�8�8�*�
��	�G����g���O�C�5�(?�@�A��	"��C�L��w���1��
�G�	�F�3�x�=�/�!7��y��
B�C�-
�	�	�� �	"��O�C�5��1�#�.�/�����!�!��	"�s$�1H�?H�H	�I�'%I�I�__main__c�@�V^8�dQh/^\9d
\;R&#)rrP)�__conditional_annotations__r6)rs"rrrs&����Ns����Osr)�)vr\�__doc__rErMr@�osrJ�pathlibrrK�usererfr:�matplotlib.patchesr�r�matplotlib.patheffects�patheffectsr�matplotlib.ticker�tickerr�rr�matplotlib.gridspecr�matplotlib.linesr�matplotlib.transforms�
transformsrgrh�mpl_toolkits.mplot3dr�rcParams�updaterr�rtr�r^r#r�r!r&r@r�r�rr?rVryr�r�r�rr(rRrrr�r�r�r�r�r�r�rrr)r?rUrer�r�r�r�r�r�r�r�r	rr*r2rOrrr�r�r�r�r�rr3rPrir�r�r�r�r�r�rr&r:rOr^r|r�r�r�rrr>rPrY�__name__r)r\s@r�<module>roso����,���	�
���
���u���%�#�"�E�(�#�*��'��������'���,�n�=���!���!�	�
�!���!�
��!���!���#���#���#���#���$���#���#�� �'�!�"�$�#�$�%�%��,���
��������	����,�%�*�#�*�(�*��+��
���"4�P$9�T(0�\(/�\!9�N77�z39�r ;�L@:�L#5�RC6�R+4�b0=�l8�64�<-=�f*:�`,7�dB<�P=;�H/;�l%7�X*2�b$6�V3�B<�B ;�N0�@&=�Z-4�h4�H"4�R,5�f;�H06�n!:�P,:�f3�B-4�d0-�f4.�n=/�@11�h11�r=2�BM4�b91�zM2�bC3�NE+�V11�hF.�R14�hI5�X,5�^&2�R+3�\24�jN3�b$1�N@3�J@4�Fm4�`C5�L51�p03�fA:�H��
���*��()�J���
���*��()�J���
���*��)*�J���
�	��*�	�)+�J�	�
�
��
�*��
)+�J���
�
��*�
�)+�J�
��
���*���
���*��)+�J���
���*��)+�J���
���*��)+�J���
���*��)+�J���
���*��)+�J���
���*���
���*�� �
�!� �*�!� )+�J�!�"�
�#�"�*�#�&�
�'�&�*�'�&)+�J�'�(�
�)�(�*�)�()+�J�)�.�
�/�.��/�.')�*�/�0�
�1�0��1�0')�*�1�2�
�3�2��3�2')�*�3�4�
�5�4��5�8�
�9�8��9�8')�*�9�:�
�;�:��;�:')�*�;���B(D�V�z���F�r