Electromagnetic Field v4 (Q42EMF64) and Qualia Acoustic Container v1 (qac\0\0\0\0\0) establish a unified binary envelope across QualiaDB and Etalon. This architecture enforces strict custody/compute separation: QualiaDB owns immutable storage, TLV metadata graphs, SI dimensional algebra, byte-exact DICOM/sensor preservation, and QBDL mixed-HMC HTTP range streaming; Etalon provides GPU/CPU Maxwell-Yee FDTD, elastodynamic wave solvers, spherical harmonic HOA DSP, and WGSL compute kernels. An HMC may hold many EMF and QAC entries; family tags follow format admit.
Clear division of authority between immutable scientific custody and high-performance physics compute.
C:/github/qualiaDB)INDEX_DOMAIN index commitment, CRC-32C Castagnoli.0x0100..=0x0107 (Instantaneous E/B, Polarimetric Ray, Yee FDTD, Sampled Spectrum, Mueller, IQ Baseband, Ionizing Dose, Biofield Dipole), Schemas 100..=137.0x0100..=0x0107 (PCM, STFT/CQT, Wavelet, Modal, Perceptual, Haptic, Ultrasound), 67 zero-heap registered audio capabilities.T01/T02), RangeVerified integrity, Portal EMF v4/v3 rendering bridge, feeding Hypermedia (148 morphisms) and Synth.C:/github/etalon)EmfSliceUniform GPU display layout and EmfFieldCell preview adapter without reinterpreting scientific f64 arrays.acoustic_fdtd.rs, maxwell_yee.rs) enforcing bit-exact CPU-GPU numerical parity budgets.qualia-etalon-sensing-bridge.| Subsystem / Domain | QualiaDB Responsibility (Custody & Semantics) | Etalon Responsibility (Compute & Shaders) | Boundary Invariant |
|---|---|---|---|
| Staggered Maxwell Yee FDTD | Mode 0x0102 serialization, Schema 133 constitutive models, PML boundary state storage, Morton/Hilbert brick indexing. | Yee leapfrog temporal update, CFL stability check, discrete Poynting divergence, dispersive media convolution in etalon-sim. | G-SCIENCE No solver state mutation inside DB |
| Polarimetry & Mueller Transfer | Mode 0x0101 / 0x0104, Schema 135 deterministic transverse Stokes basis, passivity & Cloude eigenvalues $\ge -10^{-12}$. | Jones-to-Mueller matrix conversion, active Hamilton quaternion frame rotation, Hermitian Pauli decomposition in etalon-sim. | G-SCIENCE Realizability verified before admission |
| Continuous Spectral Radiometry | Mode 0x0103, Schema 132 Jacobian-conserving frequency/wavelength conversions ($\int F_f df = \int F_\lambda d\lambda$), radiometric units. | Bruton false-color projection, CIE 1931 observer tristimulus integrals, GPU radiance mapping in etalon-render. | G-CONTRACT Scientific coordinates never lossy-projected |
| Higher-Order Ambisonics (HOA) | QAC Mode 0x0102, Schema 204 ACN indexing up to order $L \le 3$, SN3D/N3D normalization, coordinate reference frame binding. | Real spherical harmonic evaluation, Wigner-D 3D rotation matrices, binaural HRIR decoding filters in etalon-signal. | G-REALTIME Max rotation residual $\le 10^{-5}$ |
| Perceptual Audio & Loudness | QAC Mode 0x0105, Schema 203 metadata (K-weighting, 400ms gating, true-peak bounds, integrated LUFS, SPL references). | ITU-R BS.1770-5 stage-1 high-shelf + RLB biquads, 4x polyphase FIR true-peak interpolation, Mel/MFCC in etalon-signal. | G-SCIENCE Loudness oracle budget $\le 0.1\text{ LU}$ |
| Medical Imaging & Tomography | Mode 0x0104 byte-exact DICOM Part 10 custody, lossless J2K/HTJ2K/JPEG-LS/JXL codecs, LPS patient geometry, NIfTI RAS+ bridge. | FBP (Filtered Backprojection), iterative ART/SART/OSEM reconstruction kernels, WGSL tomographic projection in etalon-sim. | G-BYTES Zero inferred cross-series registration |
| Actuation Authority Separation | Role separation (Role::Measured vs Role::Command), authority receipts, consent references, expiry verification. | Physical pulse synthesis, transducer wave generation, RF hardware transmission gates in etalon-sense-*. | G-AUTHORITY Stored files never grant transmit power |
Complete verification coverage across electromagnetic, acoustic, medical, and metrological normative bodies.
| Standard / Body | Normative Scope & Mathematical Clauses | QualiaDB & Etalon Implementation Binding | Gate & Status |
|---|---|---|---|
| IEEE Std 1785 Waveguide & EM Field | Precision rectangular/circular waveguide dimensions, waveguide boundary conditions, TE/TM propagation constants, and cutoff frequencies. | q42::emf_profiles Modes 0x0100 & 0x0102; Yee FDTD waveguide meshes in etalon-sim. | Admitted G-CONTRACT |
| CIPM / JCGM 100 (GUM) Measurement Uncertainty | SI 7-tuple dimensional algebra ($L, M, T, I, \Theta, N, J$); Type A/B standard absolute ($k=1$), expanded ($k=2$, ~95.45%), and covariance matrices. | q42::field_semantics Schemas 134/202; single-target rule enforces target quantity/unit; covariance $\Sigma_p = R \Sigma R^T$. | Admitted G-SCIENCE |
| CIE 1931 2° / 1964 10° Colorimetry & Tristimulus | Standard observer color matching functions $\bar{x}, \bar{y}, \bar{z}$; continuous spectral Jacobian conservation $F_\lambda(\lambda) = F_f(c/\lambda)(c/\lambda^2)$. | q42::field_spectrum Schema 132; bin integrals conserved within $64 \cdot 2^{-52} \cdot Q$; etalon-render display projection. | Admitted G-SCIENCE |
| Stokes / Mueller / Cloude Optical Polarimetry | $4\times 4$ Mueller scattering matrices; physical realizability requires Hermitian Pauli coherency matrix eigenvalues $\lambda_i \ge -10^{-12}$ and $M_{00} \ge 0$. | q42::emf_profiles::mueller Mode 0x0104; Schema 135 deterministic transverse Stokes basis; oracle validation in etalon-sim. | Admitted G-SCIENCE |
| ITU-R BS.2076-3 (ADM) Audio Definition Model | XML-free binary serialization of channel formats, object tracks, HOA beds, and audio stream definitions without runtime string parsing. | audio::qac Schema 204; maps ADM block formats to deterministic 128B directory entries and typed descriptor blocks. | Admitted G-CONTRACT |
| ITU-R BS.2127-1 Spatial Audio Metadata | Standard rendering metadata for advanced sound systems; object coordinates, divergence, room acoustics, and listener reference orientation. | audio::qac Schema 2; active Hamilton local-to-parent unit quaternions with norm residual $\le 10^{-12}$. | Admitted G-SCIENCE |
| ITU-R BS.1770-5 / EBU R128 Loudness & True-Peak | Stage 1 high-shelf + Stage 2 RLB biquad filter; 400ms rectangular gating (75% overlap, -70 LUFS / -10 LU gates); $\ge 4\times$ oversampled True-Peak (dBTP). | audio::qac::spatial_dsp Schema 203; numerical oracle error $\le 0.1\text{ LU}$ on reference vectors; zero-signal marks silence, never NaN. | Admitted G-SCIENCE |
| AES69-2022 (SOFA) Spatially Oriented Audio | SimpleFreeFieldHRIR and SingleRoomDRIR measurement-receiver-tap structures; right-handed $X$-ahead, $Y$-left, $Z$-up listener orientation convention. | audio::qac::profiles::hrir Mode 0x0103, Schema 204; fractional/integer tap delay applied exactly once; original HDF5 in Mode 0x0104. | Admitted G-BYTES |
| ACN / SN3D / N3D / FuMa Higher-Order Ambisonics | Ambisonic Channel Number $\text{ACN} = l(l+1)+m$; Schmidt semi-normalized SN3D ($W=1$) and orthonormal N3D; Wigner-D rotation matrices. | audio::qac Mode 0x0102; record strides 4B ($L=0$), 16B ($L=1$), 36B ($L=2$), 64B ($L=3$); rotation residual $\le 10^{-5}$ in etalon-signal. | Admitted G-REALTIME |
| DICOM PS3.5 & PS3.10 Medical Image Storage | 128B preamble + magic DICM; Group 0002 File Meta Info; Explicit/Implicit VR Little Endian; encapsulated multi-frame BOT/EOT; LPS coordinate space. | sensing::acquisition::storage Mode 0x0104; original byte retention verified by BLAKE3-256; zero mutation on ingest; FrameOfReferenceUID binding. | Admitted G-BYTES |
| ISO/IEC 14495-1 (JPEG-LS) Near/Lossless Compression | LOCO-I context modeling; Transfer Syntaxes 1.2.840.10008.1.2.4.80 (Lossless, NEAR=0) and .81 (Near-Lossless, NEAR > 0 with declared loss codes). | medical::dicom_codecs; native bit-exact integer reconstruction; Schema 7 registers loss when NEAR > 0. | Admitted G-SCIENCE |
| ISO/IEC 15444-1 (JPEG 2000) Wavelet Medical Codec | Reversible 5/3 wavelet (lossless) and irreversible 9/7 wavelet (lossy); HTJ2K Part 15 Syntaxes 1.2.840.10008.1.2.4.201..203 with high throughput decoding. | medical::dicom_codecs; encapsulated codestreams stored bit-identically in Mode 0x0104; derived views tag loss code 1. | Admitted G-BYTES |
| ISO/IEC 18181-1 (JPEG XL) Next-Gen Image Codec | Transfer Syntaxes 1.2.840.10008.1.2.4.110..112; Modular mode reversible squeezing/RCT transforms for 8..16-bit signed/unsigned medical pixels. | medical::dicom_codecs; lossless multi-channel bit-depth preservation; direct mapping to AcquisitionView tensor tensors. | Admitted G-SCIENCE |
| NIfTI-1 / NIfTI-2 Neuroimaging Geometry | 348B/540B headers; qform_code and sform_code affine matrices mapping voxel indices $(i,j,k)$ to scanner/standard RAS+ millimeter coordinates. | medical::nifti bridge; transforms NIfTI affine matrices into Schema 2 CoordinateFrame with metre scaling and Hamilton quaternions. | Admitted G-CONTRACT |
| ICNIRP 2020 & IEEE C95.1 EMF Human Safety Limits | Basic restrictions & reference levels for 100 kHz–300 GHz exposure; Specific Absorption Rate (SAR in W/kg) and incident power density ($S_{inc}$ in W/m²). | q42::emf_profiles Mode 0x0106/0x0107; evaluated purely as passive observational thresholds; strict epistemic isolation forbids transmit authorization. | Admitted G-AUTHORITY |
Fail-closed migration rules, collision-free two-stage dispatch, and independent adversarial gate results.
Legacy UA4Q envelopes (magics [0x55, 0x41, 0x34, 0x51], versions 1..3, and .q4au dev suffixes) are strictly rejected on all production paths. Readers fail closed without allocating memory or synthesizing metadata.
Legacy Q42EMF64 v1..v2 envelopes are strictly rejected. EMF v3 64-byte display bricks are supported via EmfContainerReader & portal_load_emf display bridge, while v4 powers full multi-mode scientific custody.
Modes 0x0100..0x0107 are collision-free: Stage 1 branches on 8-byte magic (Q42EMF64 vs qac\0\0\0\0\0); Stage 2 verifies nonzero descriptor_id referencing domain TLV Schemas (103 vs 205..208).
V01) & Parity (C04)
The 206 adversarial fixtures systematically stress test: magic/version spoofing (18 vectors), truncations and alignment corruptions (22 vectors), Castagnoli CRC-32C and BLAKE3-256 tamper injections (28 vectors), cyclic and bounded DAG reference traps (32 vectors), IEEE-754 non-finite float injection (NaN, ±Inf in 24 vectors), and domain schema boundary violations (82 vectors).
| Integration Gate | Target Scope & Verified Invariants | Test Crate & Scope |
|---|---|---|
emf_qac_envelope_vectors_gate | 128B header/directory alignment, BLAKE3 INDEX_DOMAIN index commitment, 236 independent V01 test vectors, IEEE-754 signed zero preservation. | crates/qualia-core-db/tests/emf_qac_envelope_vectors_gate.rs |
emf_profiles_science_coupling_gate | EMF v4 Modes 0x0100..0x0107, Schemas 100..137, Yee FDTD leapfrog, Stokes passivity, IQ analytic baseband, biofield epistemic separation. | crates/qualia-core-db/tests/emf_profiles_science_coupling_gate.rs |
qac_signal_profiles_dsp_gate | QAC v1 Modes 0x0100..0x0107, Schemas 200..210, ITU-R BS.1770-5 LUFS/True-Peak, HOA SN3D/N3D Wigner-D rotation, SOFA HRIR, STFT/CQT filterbanks. | crates/qualia-core-db/tests/qac_signal_profiles_dsp_gate.rs |
dicom_recon_conformance_gate | Byte-exact DICOM Part 10 custody, native J2K/HTJ2K/JPEG-LS/JXL/RLE/Deflate codecs, LPS-to-Cartesian orientation, NIfTI RAS+ bridge, tomographic solvers. | crates/qualia-core-db/tests/dicom_recon_conformance_gate.rs |
sensing_portal_range_gate | Raw TDC/TCSPC event custody, rank-3 correlation tensors, selective range planner (T01/T02), RangeVerified integrity, Portal EMF v4/v3 rendering bridge. | crates/qualia-core-db/tests/sensing_portal_range_gate.rs |
emf_qac_perf_realtime_gate | Zero-heap hot-path contracts, CPU-GPU numerical parity budgets, sub-millisecond preflight envelope admission, real-time audio/EM stream throughput. | crates/qualia-core-db/tests/emf_qac_perf_realtime_gate.rs |
emf_qac_evolution_gate | HOA SN3D/N3D normalization & science authority, JBRD fail-closed boundary, and deterministic EMF v4 / QAC v1 roundtrip & profile admission. | crates/qualia-core-db/tests/emf_qac_evolution_gate.rs |