sim-lib-interference-runtime
Loadable, Shape-checked runtime operations for coherent interference studies.
The runtime carries the same homogeneous, isotropic, three-dimensional scalar free-field model as the dependency-free core. It does not add polarization, impedance, interfaces, obstacles, or diffraction. Amplitude-squared runtime values are normalized observables, not physical intensity, power, or energy.
InterferenceLib exports:
interference/problemandinterference/sampling-planefor checked physical inputs;interference/solve, resolved through an explicit childStudySolver, then the registered Tensor solver when aTensorSiteexecutor is active, then the deterministic reference CPU solver installed by default;interference/projectandinterference/analyzefor propagation-free projections and certified fringe reports; andinterference/scenariosandinterference/multitonefor bounded source construction and independently certified tone composition.
The crate projects problems, planes, evidence, Tensor-backed phasor fields, and scalar projections into Citizen read-constructs. Registered Shapes admit every public argument and result. Decoding re-runs domain, tensor, evidence, and mask invariants; it does not add a domain parser or a second grid or tensor representation.
The embedded two-source-cancellation Lisp recipe constructs a strict
1024-by-1024 study and realizes the interference/Study through
core/local-fabric. Its cargo-example harness runs the same CPU contract and
checks stable evidence counts.