Documentation

Signals.Scattering

A coherent incident/return observation represented by I/Q samples.

Instances For

    A positive incident norm excludes a zero incident complex field.

    noncomputable def Signals.Scattering.Observation.amplitudeRatio (observation : Observation) :
    ℂ

    The complex coherent scattering-amplitude ratio.

    Instances For
      noncomputable def Signals.Scattering.Observation.powerRatio (observation : Observation) :
      ℝ

      The measured scattered-to-incident power ratio.

      Instances For

        Scattered power ratio is nonnegative.

        A round-trip phase model with an explicit reference phase and unwrapped phase.

        Instances For

          Recover height from a reference-subtracted unwrapped scattering phase.

          Instances For

            The height reconstruction is exact under the round-trip phase model.

            A scattered-power measurement with a calibrated incident flux.

            Instances For

              Cross section is determined by scattered power and incident flux.

              A measured quantity with an explicit residual and tolerance.

              Instances For

                A residual is within the calibrated uncertainty.

                Instances For

                  An out-of-tolerance residual is an anomaly candidate, not a diagnosis.

                  Instances For
                    theorem Signals.Scattering.ResidualMeasurement.consistent_iff (measurement : ResidualMeasurement) :
                    measurement.consistent ↔ |measurement.residual| ≤ measurement.tolerance

                    The residual and anomaly predicates expose their intended inequalities.

                    theorem Signals.Scattering.ResidualMeasurement.anomalyCandidate_iff (measurement : ResidualMeasurement) :
                    measurement.anomalyCandidate ↔ ¬|measurement.residual| ≤ measurement.tolerance

                    Characterization of an out-of-tolerance scattering residual anomaly candidate.

                    Adapt a scattering residual to the shared measurement contract.

                    Instances For

                      A nonnegative signal and positive noise power define a linear SNR model.

                      • signalPower : ℝ
                      • signalPower_nonnegative : 0 ≤ self.signalPower
                      • noisePower : ℝ
                      • noisePower_pos : 0 < self.noisePower
                      Instances For
                        noncomputable def Signals.Scattering.SignalToNoise.ratio (measurement : SignalToNoise) :
                        ℝ

                        Signal-to-noise ratio as a dimensionless power ratio.

                        Instances For

                          Signal-to-noise ratio is nonnegative.

                          A scattering-metrology record joins coherent data, height reconstruction, and an independent residual measurement.

                          Instances For

                            A metrology record is accepted only when its residual is consistent.

                            Instances For

                              Acceptance is exactly the residual tolerance condition.

                              A passive complex material response at one measured frequency.

                              Instances For

                                The material transfer function exposes its complex power law.

                                Frequency-dependent bulk attenuation with an explicit exponential law.

                                Instances For

                                  Frequency-dependent attenuation is nonnegative.

                                  Nonnegative frequency-dependent attenuation cannot amplify power.

                                  structure Signals.Scattering.SpeckleCovariance (sampleCount : ℕ) :

                                  Finite speckle covariance metadata for a grid of observations.

                                  • sampleCount_positive : 0 < sampleCount
                                  • covariance : Matrix (Fin sampleCount) (Fin sampleCount) ℝ
                                  • covariance_symmetric (row column : Fin sampleCount) : self.covariance row column = self.covariance column row
                                  • covariance_diagonal_nonnegative (index : Fin sampleCount) : 0 ≤ self.covariance index index
                                  Instances For
                                    theorem Signals.Scattering.SpeckleCovariance.symmetric {sampleCount : ℕ} (covariance : SpeckleCovariance sampleCount) (row column : Fin sampleCount) :
                                    covariance.covariance row column = covariance.covariance column row

                                    A speckle covariance record exposes its symmetry law.

                                    theorem Signals.Scattering.SpeckleCovariance.diagonal_nonnegative {sampleCount : ℕ} (covariance : SpeckleCovariance sampleCount) (index : Fin sampleCount) :
                                    0 ≤ covariance.covariance index index

                                    A speckle covariance record exposes nonnegative diagonal variance.

                                    structure Signals.Scattering.GridMetrologyRecord (width height : ℕ) :

                                    A finite scattering grid with residual uncertainty and speckle metadata.

                                    Instances For
                                      theorem Signals.Scattering.GridMetrologyRecord.dimensions_positive {width height : ℕ} (record : GridMetrologyRecord width height) :
                                      0 < width ∧ 0 < height

                                      A finite grid contains at least one observation in each dimension.

                                      def Signals.Scattering.GridMetrologyRecord.consistent {width height : ℕ} (record : GridMetrologyRecord width height) :

                                      Every grid residual retains its calibrated uncertainty predicate.

                                      Instances For
                                        theorem Signals.Scattering.GridMetrologyRecord.consistent_iff {width height : ℕ} (record : GridMetrologyRecord width height) :
                                        record.consistent ↔ ∀ (row : Fin width) (column : Fin height), |(record.residuals row column).residual| ≤ (record.residuals row column).tolerance

                                        A grid is consistent when each retained residual is within tolerance.

                                        Quantum Inverse Scattering (QISM) Integration & Inverse Reconstruction #

                                        Integrates the algebraic QISM and Grassmannian Bethe ansatz structures from Signals.QISM with the scattering metrology and inverse-reconstruction contracts in Signals.Scattering:

                                        1. Exact inverse reconstruction of the spectral rapidity difference $\delta(u,v) = u - v$ and Yang coupling constant $\eta$ from the symmetric (triplet) and antisymmetric (singlet) $R$-matrix channel eigenvalues.
                                        2. Unitary two-body scattering probability conservation $T_{\mathrm{prob}}(u,v;\eta) + R_{\mathrm{prob}}(u,v;\eta) = 1$ for Yang's rational $R$-matrix.
                                        3. Inverse monodromy reconstruction of the complementary diagonal entry $D(u) = t(u) - A(u)$ and off-diagonal magnon creation/annihilation product $B(u) C(u) = A(u) D(u) - \Delta_{01}(T(u))$ from the transfer trace and $2 \times 2$ Grassmannian minor.
                                        4. Embedding Baxter's $TQ$ difference-equation residual (baxterTQResidual) into ResidualMeasurement, proving that three-point Casorati Wronskian solutions on $Gr(2,4)$ are automatically .consistent for all tolerances $\tau \ge 0$, while off-shell Bethe-root violations beyond $\tau$ trigger .anomalyCandidate.
                                        noncomputable def Signals.Scattering.reconstructSpectralDiff (w_sym w_anti : ℝ) :
                                        ℝ

                                        Reconstruct the QISM spectral rapidity difference $\delta(u, v) = u - v$ from the symmetric (triplet) and antisymmetric (singlet) Yang $R$-matrix channel weights.

                                        Instances For
                                          noncomputable def Signals.Scattering.reconstructYangCoupling (w_sym w_anti : ℝ) :
                                          ℝ

                                          Reconstruct the QISM coupling constant $\eta$ from the symmetric (triplet) and antisymmetric (singlet) Yang $R$-matrix channel weights.

                                          Instances For

                                            Inverse spectral reconstruction recovers the exact rapidity difference spectralDiff u v = u - v and coupling η from yangSymmetricWeight and yangAntisymmetricWeight.

                                            noncomputable def Signals.Scattering.yangTransmissionProb (u v η : ℝ) :
                                            ℝ

                                            Rational $R$-matrix transmission probability $T_{\mathrm{prob}}(u, v; \eta) = (u - v)^2 / ((u - v)^2 + \eta^2)$.

                                            Instances For
                                              noncomputable def Signals.Scattering.yangReflectionProb (u v η : ℝ) :
                                              ℝ

                                              Rational $R$-matrix reflection probability $R_{\mathrm{prob}}(u, v; \eta) = \eta^2 / ((u - v)^2 + \eta^2)$.

                                              Instances For
                                                theorem Signals.Scattering.yang_scattering_probability_conservation (u v η : ℝ) (h_denom : QISM.spectralDiff u v ^ 2 + η ^ 2 ≠ 0) :
                                                0 ≤ yangTransmissionProb u v η ∧ 0 ≤ yangReflectionProb u v η ∧ yangTransmissionProb u v η + yangReflectionProb u v η = 1

                                                Unitary Two-Body Scattering Flux Conservation: Whenever $(u - v)^2 + \eta^2 \neq 0$, the Yang $R$-matrix transmission and reflection probabilities are nonnegative and sum identically to $1$.

                                                Reconstruct the complementary diagonal monodromy entry $D(u) = t(u) - A(u)$ from the auxiliary transfer trace $t(u)$ and forward vacuum entry $A(u)$, and recover the off-diagonal magnon creation/annihilation product $B(u) C(u) = A(u) D(u) - \Delta_{01}(T(u))$ from the $2 \times 2$ Grassmannian minor.

                                                def Signals.Scattering.baxterTQResidualMeasurement (T a d Q_u Q_minus_eta Q_plus_eta tolerance : ℝ) (tolerance_nonnegative : 0 ≤ tolerance) :

                                                Package Baxter's $TQ$ difference-equation residual into a calibrated Scattering.ResidualMeasurement, where observed = T * Q_u and predicted = a * Q_minus_eta + d * Q_plus_eta.

                                                Instances For
                                                  theorem Signals.Scattering.baxterTQResidualMeasurement_wronskian_consistent (Q_plus Q_minus : ℝ → ℝ) (u η tolerance : ℝ) (tolerance_nonnegative : 0 ≤ tolerance) :
                                                  (baxterTQResidualMeasurement (QISM.casoratiWronskian Q_plus Q_minus (u - η) (u + η)) (QISM.casoratiWronskian Q_plus Q_minus u (u + η)) (QISM.casoratiWronskian Q_plus Q_minus (u - η) u) (Q_plus u) (Q_plus (u - η)) (Q_plus (u + η)) tolerance tolerance_nonnegative).consistent

                                                  Any three-point Casorati Wronskian solution on $Gr(2,4)$ yields a strictly consistent ResidualMeasurement (|residual| ≤ tolerance) for every nonnegative tolerance.

                                                  theorem Signals.Scattering.baxterTQResidualMeasurement_offShell_anomaly (T a d Q_minus_eta Q_plus_eta tolerance : ℝ) (tolerance_nonnegative : 0 ≤ tolerance) (h_off_shell : tolerance < |a * Q_minus_eta + d * Q_plus_eta|) :
                                                  (baxterTQResidualMeasurement T a d 0 Q_minus_eta Q_plus_eta tolerance tolerance_nonnegative).anomalyCandidate

                                                  At a candidate Bethe root ($Q(u_m) = 0$), if the Bethe Ansatz Equation residual $|a Q(u_m - \eta) + d Q(u_m + \eta)|$ exceeds tolerance, then baxterTQResidualMeasurement flags an off-shell .anomalyCandidate.

                                                  Inelastic Scattering: Inverse Compton, Stokes/Anti-Stokes Raman, and $Gr_{\mathbb{C}}(2,4)$ Boundaries #

                                                  Formalizes the algebraic and metrological laws of two fundamental inelastic scattering processes and their exact relation to $Gr_{\mathbb{C}}(2,4)$ Plücker channel invariants:

                                                  1. Inverse Compton Scattering (ICS):
                                                    • Collinear relativistic Thomson upshift factor $\frac{\omega_{\max}^{\mathrm{ICS}}}{\omega_0} = \frac{1 + \beta}{1 - \beta} = \frac{|w_A^{\mathbb{C}}|^2}{|w_B^{\mathbb{C}}|^2}$,
                                                    • Klein–Nishina quantum recoil suppression $\frac{\omega_{\mathrm{KN}}^{\mathrm{ICS}}}{\omega_0} = \frac{(1 + \beta)/(1 - \beta)}{1 + \epsilon_{\mathrm{rec}}} < \frac{1 + \beta}{1 - \beta}$ for $\epsilon_{\mathrm{rec}} = \frac{2\gamma\hbar\omega_0}{m_e c^2}(1 + \beta) > 0$, identifying the explicit rest-mass recoil scale that lies beyond scale-free projective $Gr_{\mathbb{C}}(2,4)$.
                                                  2. Stokes & Anti-Stokes Raman Scattering:
                                                    • Stokes ($\omega_S = \omega_L - \Omega_v$) and anti-Stokes ($\omega_{AS} = \omega_L + \Omega_v$) sidebands with normalized shift $\delta_R = \Omega_v / \omega_L$,
                                                    • Exact inverse recovery of pump frequency $\omega_L = (\omega_{AS} + \omega_S)/2$ and vibrational phonon frequency $\Omega_v = (\omega_{AS} - \omega_S)/2$,
                                                    • Plücker channel ratio $\frac{\omega_{AS}}{\omega_S} = \frac{1 + \delta_R}{1 - \delta_R}$ and covariance determinant product $\omega_S \omega_{AS} = \omega_L^2(1 - \delta_R^2)$,
                                                    • Thermal Bose–Einstein anti-Stokes/Stokes intensity ratio $\frac{I_{AS}}{I_S} = \left(\frac{\omega_L + \Omega_v}{\omega_L - \Omega_v}\right)^4 \exp\!\left(-\frac{\hbar\Omega_v}{k_B T}\right)$, identifying spontaneous vacuum fluctuations and irreversible thermal bath populations as the open-system boundary beyond unitary $Gr_{\mathbb{C}}(2,4)$.
                                                  noncomputable def Signals.Scattering.inverseComptonDopplerRatio (β : ℝ) :
                                                  ℝ

                                                  Head-on relativistic Inverse Compton frequency upshift ratio in the Thomson (negligible-recoil) regime: $\frac{\omega_{\max}^{\mathrm{ICS}}}{\omega_0} = \frac{1 + \beta}{1 - \beta}$.

                                                  Instances For
                                                    noncomputable def Signals.Scattering.inverseComptonKleinNishinaRatio (β ε_rec : ℝ) :
                                                    ℝ

                                                    Relativistic Inverse Compton frequency upshift ratio with dimensionless Klein–Nishina quantum recoil parameter $\epsilon_{\mathrm{rec}} \ge 0$: $\frac{\omega_{\mathrm{KN}}^{\mathrm{ICS}}}{\omega_0} = \frac{(1 + \beta)/(1 - \beta)}{1 + \epsilon_{\mathrm{rec}}}$.

                                                    Instances For
                                                      theorem Signals.Scattering.inverseCompton_thomson_and_recoil_identities (β ε_rec : ℝ) (hβ_nonneg : 0 ≤ β) (hβ_lt : β < 1) (hε_pos : 0 < ε_rec) :

                                                      Inverse Compton Thomson Upshift, Plücker Channel Ratio, and Klein–Nishina Recoil Suppression: For subluminal $\beta \in [0, 1)$ and quantum recoil parameter $\epsilon_{\mathrm{rec}} > 0$:

                                                      1. The Thomson upshift ratio satisfies $1 \le \frac{1+\beta}{1-\beta}$,
                                                      2. Clearing the Lorentz denominator $(1 - \beta^2)$ gives $(1 - \beta^2)\,\operatorname{inverseComptonDopplerRatio}(\beta) = (1 + \beta)^2$ (i.e. $\omega_{\max}^{\mathrm{ICS}}/\omega_0 = \gamma^2(1+\beta)^2$),
                                                      3. At zero recoil ($\epsilon_{\mathrm{rec}} = 0$), the Klein–Nishina ratio reduces identically to the scale-free $Gr_{\mathbb{C}}(2,4)$ Plücker channel ratio $\frac{1+\beta}{1-\beta}$, and
                                                      4. For any positive quantum recoil $\epsilon_{\mathrm{rec}} > 0$ (which introduces the electron rest-mass scale $m_e c^2$ outside projective $Gr_{\mathbb{C}}(2,4)$), the recoil-corrected upshift is strictly smaller than the Thomson ratio.
                                                      def Signals.Scattering.ramanStokesFreq (ω_pump Ω_vib : ℝ) :
                                                      ℝ

                                                      Stokes Raman scattered frequency $\omega_S = \omega_L - \Omega_v$ (phonon creation).

                                                      Instances For
                                                        def Signals.Scattering.ramanAntiStokesFreq (ω_pump Ω_vib : ℝ) :
                                                        ℝ

                                                        Anti-Stokes Raman scattered frequency $\omega_{AS} = \omega_L + \Omega_v$ (phonon absorption).

                                                        Instances For
                                                          noncomputable def Signals.Scattering.ramanNormalizedShift (ω_pump Ω_vib : ℝ) :
                                                          ℝ

                                                          Normalized Raman shift $\delta_R = \Omega_v / \omega_L$, acting as the barycentric parallel-axis shift $d_{\mathrm{bary}}$ between the anti-Stokes and Stokes Plücker channels.

                                                          Instances For
                                                            noncomputable def Signals.Scattering.ramanAntiStokesToStokesThermalRatio (ω_pump Ω_vib boltzmannExponent : ℝ) :
                                                            ℝ

                                                            Thermal Anti-Stokes to Stokes Raman intensity ratio: $\frac{I_{AS}}{I_S} = \left(\frac{\omega_L + \Omega_v}{\omega_L - \Omega_v}\right)^4 \exp(-\xi)$, where $\xi = \frac{\hbar\Omega_v}{k_B T} > 0$ is the dimensionless Boltzmann phonon exponent.

                                                            Instances For
                                                              theorem Signals.Scattering.raman_stokes_antiStokes_gr24_identities (ω_pump Ω_vib ξ : ℝ) (hω_pos : 0 < ω_pump) (hΩ_nonneg : 0 ≤ Ω_vib) (hΩ_lt : Ω_vib < ω_pump) (hξ_pos : 0 < ξ) :
                                                              have δ_R := ramanNormalizedShift ω_pump Ω_vib; reconstructSpectralDiff (ramanAntiStokesFreq ω_pump Ω_vib) (ramanStokesFreq ω_pump Ω_vib) = ω_pump ∧ reconstructYangCoupling (ramanAntiStokesFreq ω_pump Ω_vib) (ramanStokesFreq ω_pump Ω_vib) = Ω_vib ∧ ramanStokesFreq ω_pump Ω_vib * ramanAntiStokesFreq ω_pump Ω_vib = ω_pump ^ 2 * (1 - δ_R ^ 2) ∧ ramanAntiStokesFreq ω_pump Ω_vib / ramanStokesFreq ω_pump Ω_vib = (1 + δ_R) / (1 - δ_R) ∧ ramanAntiStokesToStokesThermalRatio ω_pump Ω_vib ξ < (ramanAntiStokesFreq ω_pump Ω_vib / ramanStokesFreq ω_pump Ω_vib) ^ 4

                                                              Stokes/Anti-Stokes Raman $Gr_{\mathbb{C}}(2,4)$ Channel Identities & Thermal Boltzmann Asymmetry: For pump frequency $\omega_L > 0$, vibrational frequency $0 \le \Omega_v < \omega_L$, and positive Boltzmann exponent $\xi = \hbar\Omega_v / (k_B T) > 0$:

                                                              1. Exact inverse recovery of $\omega_L$ and $\Omega_v$ from $\omega_{AS}$ and $\omega_S$ via reconstructSpectralDiff and reconstructYangCoupling,
                                                              2. Plücker determinant product identity: $\omega_S\,\omega_{AS} = \omega_L^2\bigl(1 - \delta_R^2\bigr)$,
                                                              3. Plücker channel ratio identity: $\frac{\omega_{AS}}{\omega_S} = \frac{1 + \delta_R}{1 - \delta_R}$, and
                                                              4. Thermal Boltzmann suppression: because spontaneous Stokes emission includes vacuum fluctuations ($\bar{n} + 1$) whereas anti-Stokes requires thermal phonons ($\bar{n}$), $0 < \exp(-\xi) < 1$, so the thermal ratio is strictly smaller than the fourth power of the coherent Plücker frequency ratio.
                                                              noncomputable def Signals.Scattering.boseEinsteinOccupancy (ξ : ℝ) :
                                                              ℝ

                                                              Bose–Einstein thermal phonon occupation number $\bar{n}_{\mathrm{BE}}(\xi) = \frac{1}{\exp(\xi) - 1}$ for dimensionless Boltzmann exponent $\xi = \frac{\hbar\Omega_v}{k_B T} > 0$.

                                                              Instances For
                                                                noncomputable def Signals.Scattering.reconstructRamanBoltzmannExponent (ω_pump Ω_vib measuredRatio : ℝ) :
                                                                ℝ

                                                                Inverse Raman Boltzmann thermometer: reconstructs the dimensionless Boltzmann exponent $\xi = \frac{\hbar\Omega_v}{k_B T}$ from pump frequency $\omega_L$, vibrational shift $\Omega_v$, and measured anti-Stokes-to-Stokes intensity ratio $R_{AS/S}$: $\xi = 4\ln\!\left(\frac{\omega_L + \Omega_v}{\omega_L - \Omega_v}\right) - \ln(R_{AS/S})$.

                                                                Instances For
                                                                  theorem Signals.Scattering.raman_boseEinstein_and_thermometer_inversion (ω_pump Ω_vib ξ : ℝ) (hω_pos : 0 < ω_pump) (hΩ_nonneg : 0 ≤ Ω_vib) (hΩ_lt : Ω_vib < ω_pump) (hξ_pos : 0 < ξ) :
                                                                  0 < boseEinsteinOccupancy ξ ∧ boseEinsteinOccupancy ξ / (boseEinsteinOccupancy ξ + 1) = Real.exp (-ξ) ∧ ramanAntiStokesToStokesThermalRatio ω_pump Ω_vib ξ = (ramanAntiStokesFreq ω_pump Ω_vib / ramanStokesFreq ω_pump Ω_vib) ^ 4 * (boseEinsteinOccupancy ξ / (boseEinsteinOccupancy ξ + 1)) ∧ reconstructRamanBoltzmannExponent ω_pump Ω_vib (ramanAntiStokesToStokesThermalRatio ω_pump Ω_vib ξ) = ξ

                                                                  Bose–Einstein Vacuum-Fluctuation Asymmetry ($\frac{\bar{n}}{\bar{n}+1} = e^{-\xi}$) & Exact Raman Thermometer Inversion: For $\omega_L > 0$, $0 \le \Omega_v < \omega_L$, and $\xi = \frac{\hbar\Omega_v}{k_B T} > 0$:

                                                                  1. The Bose–Einstein phonon occupancy is strictly positive ($0 < \bar{n}_{\mathrm{BE}}(\xi)$),
                                                                  2. The ratio of anti-Stokes phonon absorption ($\bar{n}_{\mathrm{BE}}(\xi)$) to Stokes phonon creation including the $+1$ vacuum zero-point fluctuation ($\bar{n}_{\mathrm{BE}}(\xi) + 1$) equals the Boltzmann factor $\exp(-\xi)$: $$\frac{\bar{n}_{\mathrm{BE}}(\xi)}{\bar{n}_{\mathrm{BE}}(\xi) + 1} = \exp(-\xi),$$
                                                                  3. Consequently, ramanAntiStokesToStokesThermalRatio factors into the fourth power of the coherent $Gr_{\mathbb{C}}(2,4)$ Plücker frequency ratio times the Bose–Einstein occupancy ratio $\frac{\bar{n}_{\mathrm{BE}}(\xi)}{\bar{n}_{\mathrm{BE}}(\xi) + 1}$, and
                                                                  4. reconstructRamanBoltzmannExponent recovers $\xi$ identically from ramanAntiStokesToStokesThermalRatio ω_pump Ω_vib ξ.
                                                                  noncomputable def Signals.Scattering.reconstructInverseComptonBeta (dopplerRatio : ℝ) :
                                                                  ℝ

                                                                  Inverse reconstruction of the reduced velocity $\beta = \frac{D - 1}{D + 1}$ from the head-on Thomson Inverse Compton Doppler ratio $D = \frac{1 + \beta}{1 - \beta}$.

                                                                  Instances For
                                                                    noncomputable def Signals.Scattering.reconstructKleinNishinaRecoil (dopplerRatio knRatio : ℝ) :
                                                                    ℝ

                                                                    Inverse reconstruction of the dimensionless Klein–Nishina quantum recoil parameter $\epsilon_{\mathrm{rec}} = \frac{D}{R_{\mathrm{KN}}} - 1$ from the Thomson Doppler ratio $D$ and measured Klein–Nishina upshift ratio $R_{\mathrm{KN}}$.

                                                                    Instances For
                                                                      noncomputable def Signals.Scattering.reconstructRamanTemperature (ω_pump Ω_vib charTemp measuredRatio : ℝ) :
                                                                      ℝ

                                                                      Reconstruct physical absolute temperature $T = \frac{\hbar\Omega_v}{k_B\,\xi}$ from pump frequency $\omega_L$, vibrational shift $\Omega_v$, thermal energy scale $\hbar\Omega_v / k_B$ (charTemp = hbar * Ω_vib / k_B), and measured anti-Stokes-to-Stokes intensity ratio $R_{AS/S}$.

                                                                      Instances For
                                                                        def Signals.Scattering.ramanTemperatureResidualMeasurement (T_pred T_obs tolerance : ℝ) (tolerance_nonnegative : 0 ≤ tolerance) :

                                                                        Calibrated ResidualMeasurement for Raman anti-Stokes/Stokes thermometry, comparing an observed temperature $T_{\mathrm{obs}}$ against a predicted temperature $T_{\mathrm{pred}}$.

                                                                        Instances For
                                                                          theorem Signals.Scattering.inelastic_compton_and_raman_temperature_inversion (β ε_rec ω_pump Ω_vib Θ_v T tolerance : ℝ) (hβ_nonneg : 0 ≤ β) (hβ_lt : β < 1) (hε_nonneg : 0 ≤ ε_rec) (hω_pos : 0 < ω_pump) (hΩ_nonneg : 0 ≤ Ω_vib) (hΩ_lt : Ω_vib < ω_pump) (hΘ_pos : 0 < Θ_v) (hT_pos : 0 < T) (htol : 0 ≤ tolerance) :
                                                                          have D := inverseComptonDopplerRatio β; have R_KN := inverseComptonKleinNishinaRatio β ε_rec; have R_Raman := ramanAntiStokesToStokesThermalRatio ω_pump Ω_vib (Θ_v / T); have T_rec := reconstructRamanTemperature ω_pump Ω_vib Θ_v R_Raman; reconstructInverseComptonBeta D = β ∧ reconstructKleinNishinaRecoil D R_KN = ε_rec ∧ T_rec = T ∧ (ramanTemperatureResidualMeasurement T T_rec tolerance htol).consistent

                                                                          Exact Inverse Recovery of $\beta$, Klein–Nishina Recoil $\epsilon_{\mathrm{rec}}$, and Absolute Raman Temperature $T$: For subluminal $\beta \in [0, 1)$, quantum recoil $\epsilon_{\mathrm{rec}} \ge 0$, pump frequency $\omega_L > 0$, vibrational shift $0 \le \Omega_v < \omega_L$, characteristic phonon temperature $\Theta_v = \hbar\Omega_v / k_B > 0$, and absolute temperature $T > 0$:

                                                                          1. reconstructInverseComptonBeta recovers $\beta$ identically from inverseComptonDopplerRatio β,
                                                                          2. reconstructKleinNishinaRecoil recovers $\epsilon_{\mathrm{rec}}$ identically from inverseComptonDopplerRatio β and inverseComptonKleinNishinaRatio β ε_rec,
                                                                          3. reconstructRamanTemperature recovers $T$ identically from ramanAntiStokesToStokesThermalRatio ω_pump Ω_vib (Θ_v / T), and
                                                                          4. The resulting ramanTemperatureResidualMeasurement is .consistent for every nonnegative tolerance $\tau \ge 0$.

                                                                          Polaritons: Hopfield Bogoliubov Mixing, Vacuum Rabi Anticrossing, $Gr_{\mathbb{C}}(2,4)$ Complementarity, and Lyddane–Sachs–Teller Dispersion #

                                                                          noncomputable def Signals.Scattering.polaritonEffectiveRabiSplitting (detuning rabiCoupling : ℝ) :
                                                                          ℝ

                                                                          Effective polariton Rabi splitting $\Omega_{\mathrm{eff}}(\Delta_{\mathrm{pol}}, g_{\mathrm{Rabi}}) = \sqrt{\Delta_{\mathrm{pol}}^2 + 4 g_{\mathrm{Rabi}}^2}$ for photon–matter detuning $\Delta_{\mathrm{pol}} = \omega_{\mathrm{ph}} - \omega_{\mathrm{ex}}$ and vacuum Rabi coupling rate $g_{\mathrm{Rabi}}$.

                                                                          Instances For
                                                                            noncomputable def Signals.Scattering.upperPolaritonFreq (ω_ph ω_ex rabiCoupling : ℝ) :
                                                                            ℝ

                                                                            Upper polariton (UP) eigenfrequency $\omega_{\mathrm{UP}}(\omega_{\mathrm{ph}}, \omega_{\mathrm{ex}}, g_{\mathrm{Rabi}}) = \frac{\omega_{\mathrm{ph}} + \omega_{\mathrm{ex}} + \Omega_{\mathrm{eff}}(\omega_{\mathrm{ph}} - \omega_{\mathrm{ex}}, g_{\mathrm{Rabi}})}{2}$.

                                                                            Instances For
                                                                              noncomputable def Signals.Scattering.lowerPolaritonFreq (ω_ph ω_ex rabiCoupling : ℝ) :
                                                                              ℝ

                                                                              Lower polariton (LP) eigenfrequency $\omega_{\mathrm{LP}}(\omega_{\mathrm{ph}}, \omega_{\mathrm{ex}}, g_{\mathrm{Rabi}}) = \frac{\omega_{\mathrm{ph}} + \omega_{\mathrm{ex}} - \Omega_{\mathrm{eff}}(\omega_{\mathrm{ph}} - \omega_{\mathrm{ex}}, g_{\mathrm{Rabi}})}{2}$.

                                                                              Instances For
                                                                                def Signals.Scattering.reconstructPolaritonRabiCouplingSq (ω_ph ω_ex ω_UP ω_LP : ℝ) :
                                                                                ℝ

                                                                                Inverse polariton spectroscopy: reconstructs the squared vacuum Rabi coupling $g_{\mathrm{Rabi}}^2 = \omega_{\mathrm{ph}}\,\omega_{\mathrm{ex}} - \omega_{\mathrm{UP}}\,\omega_{\mathrm{LP}}$ from the bare photon/matter frequencies $(\omega_{\mathrm{ph}}, \omega_{\mathrm{ex}})$ and measured upper/lower polariton eigenfrequencies $(\omega_{\mathrm{UP}}, \omega_{\mathrm{LP}})$.

                                                                                Instances For
                                                                                  noncomputable def Signals.Scattering.hopfieldBarycentricShift (detuning rabiCoupling : ℝ) :
                                                                                  ℝ

                                                                                  Normalized Hopfield barycentric photon–matter asymmetry $d_{\mathrm{Hopfield}}(\Delta_{\mathrm{pol}}, g_{\mathrm{Rabi}}) = \frac{\Delta_{\mathrm{pol}}}{\sqrt{\Delta_{\mathrm{pol}}^2 + 4 g_{\mathrm{Rabi}}^2}} \in (-1, 1)$.

                                                                                  Instances For
                                                                                    noncomputable def Signals.Scattering.hopfieldPhotonWeight (d_hop : ℝ) :
                                                                                    ℝ

                                                                                    Upper-branch Hopfield photon weight $|C|^2 = \frac{1 + d_{\mathrm{Hopfield}}}{2}$.

                                                                                    Instances For
                                                                                      noncomputable def Signals.Scattering.hopfieldMatterWeight (d_hop : ℝ) :
                                                                                      ℝ

                                                                                      Upper-branch Hopfield matter (exciton/phonon) weight $|X|^2 = \frac{1 - d_{\mathrm{Hopfield}}}{2}$.

                                                                                      Instances For
                                                                                        noncomputable def Signals.Scattering.lyddaneSachsTellerPermittivity (eps_inf ω_TO ω_LO ω : ℝ) :
                                                                                        ℝ

                                                                                        Lyddane–Sachs–Teller (LST) polariton dielectric function $\varepsilon_{\mathrm{pol}}(\omega) = \varepsilon_\infty\,\frac{\omega^2 - \omega_{\mathrm{LO}}^2}{\omega^2 - \omega_{\mathrm{TO}}^2}$ near a transverse optical ($\omega_{\mathrm{TO}}$) and longitudinal optical ($\omega_{\mathrm{LO}}$) phonon or exciton resonance.

                                                                                        Instances For
                                                                                          theorem Signals.Scattering.polariton_hopfield_rabi_and_lst_identities (ω_ph ω_ex g eps_inf ω_TO ω_LO ω : ℝ) (hg_pos : 0 < g) (heps_pos : 0 < eps_inf) (hTO_pos : 0 < ω_TO) (h_gt_TO : ω_TO < ω) (h_lt_LO : ω < ω_LO) :
                                                                                          have Δ := ω_ph - ω_ex; have ω_UP := upperPolaritonFreq ω_ph ω_ex g; have ω_LP := lowerPolaritonFreq ω_ph ω_ex g; have d_hop := hopfieldBarycentricShift Δ g; have w_ph := hopfieldPhotonWeight d_hop; have w_ex := hopfieldMatterWeight d_hop; ω_UP + ω_LP = ω_ph + ω_ex ∧ ω_UP - ω_LP = polaritonEffectiveRabiSplitting Δ g ∧ 2 * g ≤ ω_UP - ω_LP ∧ reconstructPolaritonRabiCouplingSq ω_ph ω_ex ω_UP ω_LP = g ^ 2 ∧ -1 < d_hop ∧ d_hop < 1 ∧ w_ph + w_ex = 1 ∧ w_ph - w_ex = d_hop ∧ 4 * w_ph * w_ex = 1 - d_hop ^ 2 ∧ 1 - d_hop ^ 2 = 4 * g ^ 2 / (Δ ^ 2 + 4 * g ^ 2) ∧ lyddaneSachsTellerPermittivity eps_inf ω_TO ω_LO 0 = eps_inf * (ω_LO ^ 2 / ω_TO ^ 2) ∧ lyddaneSachsTellerPermittivity eps_inf ω_TO ω_LO ω_LO = 0 ∧ lyddaneSachsTellerPermittivity eps_inf ω_TO ω_LO ω < 0

                                                                                          Polariton Hopfield–Rabi Anticrossing, Inverse Coupling Recovery, & Lyddane–Sachs–Teller Reststrahlen Theorem: For bare frequencies $\omega_{\mathrm{ph}}, \omega_{\mathrm{ex}} \in \mathbb{R}$, vacuum Rabi coupling $g_{\mathrm{Rabi}} > 0$, and LST parameters $\varepsilon_\infty > 0$, $0 < \omega_{\mathrm{TO}} < \omega < \omega_{\mathrm{LO}}$:

                                                                                          1. Strict Vacuum Rabi Anticrossing: $\omega_{\mathrm{UP}} + \omega_{\mathrm{LP}} = \omega_{\mathrm{ph}} + \omega_{\mathrm{ex}}$ and $\omega_{\mathrm{UP}} - \omega_{\mathrm{LP}} = \Omega_{\mathrm{eff}}(\omega_{\mathrm{ph}} - \omega_{\mathrm{ex}}, g_{\mathrm{Rabi}}) \ge 2 g_{\mathrm{Rabi}} > 0$, with exact resonance splitting $\omega_{\mathrm{UP}}(\omega_0, \omega_0, g_{\mathrm{Rabi}}) - \omega_{\mathrm{LP}}(\omega_0, \omega_0, g_{\mathrm{Rabi}}) = 2 g_{\mathrm{Rabi}}$,
                                                                                          2. Determinant Invariance & Exact Inverse Rabi Spectroscopy: $\omega_{\mathrm{UP}}\,\omega_{\mathrm{LP}} = \omega_{\mathrm{ph}}\,\omega_{\mathrm{ex}} - g_{\mathrm{Rabi}}^2$, so reconstructPolaritonRabiCouplingSq recovers $g_{\mathrm{Rabi}}^2$ identically,
                                                                                          3. Hopfield Normalization & Pythagorean Hybridization Complementarity: $-1 < d_{\mathrm{Hopfield}} < 1$, $|C|^2 + |X|^2 = 1$, $|C|^2 - |X|^2 = d_{\mathrm{Hopfield}}$, and $$4\,|C|^2\,|X|^2 = 1 - d_{\mathrm{Hopfield}}^2 = \frac{4 g_{\mathrm{Rabi}}^2}{(\omega_{\mathrm{ph}} - \omega_{\mathrm{ex}})^2 + 4 g_{\mathrm{Rabi}}^2} > 0,$$
                                                                                          4. Lyddane–Sachs–Teller Static Limit, ENZ Bulk Longitudinal Cutoff, & Reststrahlen Surface-Polariton Window:
                                                                                            • Static limit ($\omega = 0$): $\varepsilon_{\mathrm{pol}}(0) = \varepsilon_\infty \frac{\omega_{\mathrm{LO}}^2}{\omega_{\mathrm{TO}}^2}$,
                                                                                            • Epsilon-Near-Zero (ENZ) longitudinal polariton mode ($\omega = \omega_{\mathrm{LO}}$): $\varepsilon_{\mathrm{pol}}(\omega_{\mathrm{LO}}) = 0$,
                                                                                            • Reststrahlen stop-band ($\omega_{\mathrm{TO}} < \omega < \omega_{\mathrm{LO}}$): $\varepsilon_{\mathrm{pol}}(\omega) < 0$ (surface-polariton active regime).

                                                                                          Coherent Synchrotron Radiation (CSR) on Cylindrical SPP Microtubes/CNTs, Cavity QED Cooperativity, Cherenkov–Proca Phase Matching, & Grover State Carving #

                                                                                          def Signals.Scattering.csrBunchingIntensity (N_e f_bunch I_single : ℝ) :
                                                                                          ℝ

                                                                                          Coherent Synchrotron Radiation (CSR) intensity from $N_e$ surface electrons bunched by a cylindrical Surface Plasmon Polariton (SPP) mode with bunching form factor $f_{\mathrm{bunch}} \in [0, 1]$ and single-electron intensity $I_{\mathrm{single}}$ (Lei et al., 2025, 10.1103/cnym-16hc, arXiv:2507.04561): $I_{\mathrm{CSR}}(N_e, f_{\mathrm{bunch}}, I_{\mathrm{single}}) = \bigl(N_e + N_e(N_e - 1) f_{\mathrm{bunch}}^2\bigr)\,I_{\mathrm{single}}$.

                                                                                          Instances For
                                                                                            noncomputable def Signals.Scattering.csrCriticalFrequency (ω_rot γ_e : ℝ) :
                                                                                            ℝ

                                                                                            Relativistic synchrotron critical frequency $\omega_c^{\mathrm{CSR}} = \frac{3}{2}\,\omega_{\mathrm{rot}}\,\gamma_e^3$ for surface electrons spiraling at angular frequency $\omega_{\mathrm{rot}}$ with Lorentz factor $\gamma_e \ge 1$ on a near-critical microtube or carbon nanotube (CNT).

                                                                                            Instances For
                                                                                              noncomputable def Signals.Scattering.cavityQEDCooperativity (g_single κ_cav γ_emit : ℝ) :
                                                                                              ℝ

                                                                                              Single-emitter Cavity QED cooperativity $C_1 = \frac{4 g_0^2}{\kappa_{\mathrm{cav}}\,\gamma_{\mathrm{emit}}}$ for single-photon coupling $g_0$, cavity decay rate $\kappa_{\mathrm{cav}}$, and emitter decay rate $\gamma_{\mathrm{emit}}$ (distinguishing closed-cavity Jaynes–Cummings QED from open-boundary $N_e^2$ travelling-wave CSR-SPP emission and $N_e$-collective van der Waals cavity electrodynamics; Kipp et al., 2024, arXiv:2403.19745).

                                                                                              Instances For
                                                                                                noncomputable def Signals.Scattering.transversePlasmaPhaseVelSq (c ω ω_p : ℝ) :
                                                                                                ℝ

                                                                                                Squared phase velocity of a transverse electromagnetic wave in an unmagnetized plasma with plasma frequency $\omega_p$ ($\omega > \omega_p > 0$): $v_{\mathrm{ph},\perp}^2 = \frac{c^2\,\omega^2}{\omega^2 - \omega_p^2} > c^2$ (superluminal phase velocity forbids subluminal transverse Cherenkov radiation).

                                                                                                Instances For
                                                                                                  noncomputable def Signals.Scattering.longitudinalPlasmaPhaseVelSq (v_th ω_p k : ℝ) :
                                                                                                  ℝ

                                                                                                  Squared phase velocity of a longitudinal Bohm–Gross / effective-mass plasma wave ($\omega^2 = \omega_p^2 + 3 v_{\mathrm{th}}^2 k^2$, where $m_{\mathrm{eff}} = \hbar\omega_p / c^2$): $v_{\mathrm{ph},\parallel}^2 = \frac{\omega_p^2}{k^2} + 3 v_{\mathrm{th}}^2$, which becomes strictly subluminal ($v_{\mathrm{ph},\parallel} < c$) at large wavenumber $k$, enabling direct Cherenkov / Landau synchronous wakefield excitation.

                                                                                                  Instances For
                                                                                                    noncomputable def Signals.Scattering.cherenkovCosine (v_phase v_electron : ℝ) :
                                                                                                    ℝ

                                                                                                    Cherenkov / Smith–Purcell phase-matching cosine $\cos\theta_C = \frac{v_{\mathrm{ph}}}{v_e}$ for wave phase speed $v_{\mathrm{ph}}$ and electron speed $v_e > v_{\mathrm{ph}} > 0$.

                                                                                                    Instances For
                                                                                                      def Signals.Scattering.grapheneDiracPlasmonFreqSq (e_fermi q_wave : ℝ) :
                                                                                                      ℝ

                                                                                                      Normalized 2D Dirac graphene plasmon squared frequency $\omega_{\mathrm{GPP}}^2(E_F, q) = E_F\,q$ as a function of gate-tuned Fermi energy $E_F$ (in eV) and plasmon wavenumber $q$, governing how THz/eV graphene circuit gating shifts free-electron SPP amplification (Zhang et al., 2022, 10.1038/s41586-022-05239-2).

                                                                                                      Instances For

                                                                                                        Single-step Grover quantum state-carving amplitude $\sin(3\theta) = \sin\theta\,(3 - 4\sin^2\theta)$ from initial target overlap $\sin\theta = 1/\sqrt{N}$ (10.1103/s3vs-xz7w).

                                                                                                        Instances For
                                                                                                          theorem Signals.Scattering.csr_spp_cherenkov_cavity_and_grover_identities (N_e f_bunch I_single ω_rot γ_e g0 κ_cav γ_emit c ω ω_p v_th k_long v_ph v_e scale_E e_fermi q_wave : ℝ) (hN : 1 ≤ N_e) (hf_nonneg : 0 ≤ f_bunch) (hf_le : f_bunch ≤ 1) (hI : 0 ≤ I_single) (hω_rot : 0 < ω_rot) (hγ_e : 1 ≤ γ_e) (hc : 0 < c) (hωp_pos : 0 < ω_p) (hω_gt : ω_p < ω) (hk_pos : 0 < k_long) (h_sub_long : ω_p ^ 2 + 3 * v_th ^ 2 * k_long ^ 2 < c ^ 2 * k_long ^ 2) (hv_ph : 0 < v_ph) (hv_lt : v_ph < v_e) :
                                                                                                          have chi_c := cherenkovCosine v_ph v_e; csrBunchingIntensity N_e 0 I_single = N_e * I_single ∧ csrBunchingIntensity N_e 1 I_single = N_e ^ 2 * I_single ∧ N_e * I_single ≤ csrBunchingIntensity N_e f_bunch I_single ∧ csrBunchingIntensity N_e f_bunch I_single ≤ N_e ^ 2 * I_single ∧ 3 / 2 * ω_rot ≤ csrCriticalFrequency ω_rot γ_e ∧ cavityQEDCooperativity (√N_e * g0) κ_cav γ_emit = N_e * cavityQEDCooperativity g0 κ_cav γ_emit ∧ c ^ 2 < transversePlasmaPhaseVelSq c ω ω_p ∧ longitudinalPlasmaPhaseVelSq v_th ω_p k_long < c ^ 2 ∧ 0 < chi_c ∧ chi_c < 1 ∧ 1 - chi_c ^ 2 = (v_e ^ 2 - v_ph ^ 2) / v_e ^ 2 ∧ 0 < 1 - chi_c ^ 2 ∧ grapheneDiracPlasmonFreqSq (scale_E * e_fermi) q_wave = scale_E * grapheneDiracPlasmonFreqSq e_fermi q_wave ∧ groverSuccessAmplitude (1 / 2) = 1

                                                                                                          CSR-SPP Superradiant Bunching, Cavity QED vs. CSR Distinction, Cherenkov–Proca Longitudinal Phase Matching, Graphene THz-eV Scaling, & Grover State Carving Theorem:

                                                                                                          1. CSR-SPP Incoherent ($N_e$) to Superradiant ($N_e^2$) Interpolation (Lei et al. 2025): For $N_e \ge 1$, $0 \le f_{\mathrm{bunch}} \le 1$, and $I_1 \ge 0$:
                                                                                                            • $\operatorname{csrBunchingIntensity}(N_e, 0, I_1) = N_e\,I_1$ (incoherent synchrotron limit),
                                                                                                            • $\operatorname{csrBunchingIntensity}(N_e, 1, I_1) = N_e^2\,I_1$ (ideal SPP microbunched superradiant limit),
                                                                                                            • $N_e\,I_1 \le \operatorname{csrBunchingIntensity}(N_e, f_{\mathrm{bunch}}, I_1) \le N_e^2\,I_1$, and
                                                                                                            • For $\omega_{\mathrm{rot}} > 0$ and $\gamma_e \ge 1$, $\frac{3}{2}\omega_{\mathrm{rot}} \le \operatorname{csrCriticalFrequency}(\omega_{\mathrm{rot}}, \gamma_e)$,
                                                                                                          2. Collective vs. Single-Photon Cavity QED Cooperativity (Kipp et al. 2024 vs. Single-Atom QED): $\operatorname{cavityQEDCooperativity}(\sqrt{N_e}\,g_0, \kappa_{\mathrm{cav}}, \gamma_{\mathrm{emit}}) = N_e\,\operatorname{cavityQEDCooperativity}(g_0, \kappa_{\mathrm{cav}}, \gamma_{\mathrm{emit}})$,
                                                                                                          3. Transverse Superluminal Prohibition vs. Longitudinal Effective-Mass Cherenkov Cone:
                                                                                                            • For any propagating transverse plasma wave ($\omega > \omega_p > 0$, $c > 0$), $c^2 < \operatorname{transversePlasmaPhaseVelSq}(c, \omega, \omega_p)$, forbidding subluminal transverse Cherenkov emission,
                                                                                                            • Whenever $0 < v_{\mathrm{ph}} < v_e$, the Cherenkov cosine $\chi_C = \operatorname{cherenkovCosine}(v_{\mathrm{ph}}, v_e)$ satisfies $0 < \chi_C < 1$ and $0 < 1 - \chi_C^2 = \frac{v_e^2 - v_{\mathrm{ph}}^2}{v_e^2} < 1$ (non-degenerate Cherenkov Mach cone),
                                                                                                          4. Graphene THz-eV Gate Tuning of Free-Electron SPP Amplification (Zhang et al. 2022): Scaling the graphene Fermi energy by $\lambda_E > 0$ scales $\operatorname{grapheneDiracPlasmonFreqSq}(\lambda_E E_F, q) = \lambda_E \operatorname{grapheneDiracPlasmonFreqSq}(E_F, q)$,
                                                                                                          5. Deterministic 4-State Grover Quantum State Carving (10.1103/s3vs-xz7w): At $\sin\theta = 1/\sqrt{4} = 1/2$, a single Grover reflection step achieves unit target amplitude: $\operatorname{groverSuccessAmplitude}(1/2) = 1$.

                                                                                                          Low-Power Integrated Optical Amplification Through Second-Harmonic ($\chi^{(2)}$) Resonance (Dean et al., 2025, 10.1038/s41586-025-09959-z) #

                                                                                                          def Signals.Scattering.secondOrderPolarization (chi2 electricField : ℝ) :
                                                                                                          ℝ

                                                                                                          Second-order nonlinear polarization $P^{(2)} = \chi^{(2)}\,E^2$: under spatial inversion $E \mapsto -E$, a centrosymmetric medium satisfies $\chi^{(2)} = -\chi^{(2)}$, forcing $\chi^{(2)} = 0$ and $P^{(2)} = 0$.

                                                                                                          Instances For
                                                                                                            def Signals.Scattering.shgResonantIntracavityPower (finesseBuildup singlePassSHPower : ℝ) :
                                                                                                            ℝ

                                                                                                            Intracavity recirculated second-harmonic ($2\omega_0$) pump power $P_{2\omega}^{\mathrm{intracav}} = F_{\mathrm{SH}}\,P_{2\omega}^{\mathrm{single}}$ for cavity buildup / finesse enhancement factor $F_{\mathrm{SH}} \ge 1$ (Dean et al., 2025, Nature, 10.1038/s41586-025-09959-z).

                                                                                                            Instances For
                                                                                                              noncomputable def Signals.Scattering.opaNetGainSq (g_opa delta_k : ℝ) :
                                                                                                              ℝ

                                                                                                              Phase-mismatched Optical Parametric Amplification (OPA) net squared gain rate $g_{\mathrm{net}}^2(g_{\mathrm{OPA}}, \Delta k) = g_{\mathrm{OPA}}^2 - (\Delta k / 2)^2$, governing piezoelectric / electro-optic phase-matching gate control.

                                                                                                              Instances For
                                                                                                                noncomputable def Signals.Scattering.opaAmplifiedQuadratureGain (r_sq : ℝ) :
                                                                                                                ℝ

                                                                                                                Phase-sensitive degenerate Optical Parametric Amplifier (OPA) amplified in-phase quadrature variance $G_+(r_{\mathrm{sq}}) = \exp(2 r_{\mathrm{sq}})$ for parametric squeeze factor $r_{\mathrm{sq}} = g_{\mathrm{eff}} L \ge 0$.

                                                                                                                Instances For
                                                                                                                  noncomputable def Signals.Scattering.opaSqueezedQuadratureGain (r_sq : ℝ) :
                                                                                                                  ℝ

                                                                                                                  Phase-sensitive degenerate Optical Parametric Amplifier (OPA) squeezed anti-phase quadrature variance $G_-(r_{\mathrm{sq}}) = \exp(-2 r_{\mathrm{sq}})$.

                                                                                                                  Instances For
                                                                                                                    theorem Signals.Scattering.second_harmonic_opa_and_centrosymmetry_identities (chi2 E F_sh P_2w P_thresh g_opa delta_k r_sq : ℝ) (h_centro : chi2 = -chi2) (hF_ge : 1 ≤ F_sh) (hP : 0 ≤ P_2w) (hr_sq : 0 ≤ r_sq) :
                                                                                                                    chi2 = 0 ∧ secondOrderPolarization chi2 E = 0 ∧ P_2w ≤ shgResonantIntracavityPower F_sh P_2w ∧ shgResonantIntracavityPower F_sh (P_thresh / F_sh) = P_thresh ∧ opaNetGainSq g_opa 0 = g_opa ^ 2 ∧ opaNetGainSq g_opa delta_k ≤ g_opa ^ 2 ∧ opaNetGainSq g_opa (2 * g_opa) = 0 ∧ 1 ≤ opaAmplifiedQuadratureGain r_sq ∧ opaSqueezedQuadratureGain r_sq ≤ 1 ∧ opaAmplifiedQuadratureGain r_sq * opaSqueezedQuadratureGain r_sq = 1

                                                                                                                    Low-Power Second-Harmonic Resonant Optical Parametric Amplification (OPA), Centrosymmetry Selection Rule, & Phase-Matching Gate Theorem:

                                                                                                                    1. Centrosymmetric Inversion Selection Rule ($\chi^{(2)} = 0$): If spatial inversion invariance forces $\chi_2 = -\chi_2$ (as in centrosymmetric pristine graphene or amorphous polymers), then $\chi_2 = 0$ and $\operatorname{secondOrderPolarization}(\chi_2, E) = 0$ for all $E$, proving that $\chi^{(2)}$ SHG/OPA requires non-centrosymmetric crystals (e.g., $\text{LiNbO}_3$, $\alpha$-quartz, or aligned chiral Cellulose Nanocrystals),
                                                                                                                    2. Second-Harmonic Resonant Recirculation Enhancement (Dean et al. 2025, 10.1038/s41586-025-09959-z): For cavity buildup $F_{\mathrm{SH}} \ge 1$ and $P_{2\omega} \ge 0$, $P_{2\omega} \le \operatorname{shgResonantIntracavityPower}(F_{\mathrm{SH}}, P_{2\omega})$, and achieving a target intracavity threshold $P_{\mathrm{thresh}}$ requires only $P_{2\omega} = P_{\mathrm{thresh}} / F_{\mathrm{SH}} \le P_{\mathrm{thresh}}$,
                                                                                                                    3. Phase-Matching Detuning Gate: $\operatorname{opaNetGainSq}(g_{\mathrm{OPA}}, 0) = g_{\mathrm{OPA}}^2$ (maximum gain at $\Delta k = 0$), $\operatorname{opaNetGainSq}(g_{\mathrm{OPA}}, \Delta k) \le g_{\mathrm{OPA}}^2$ for all $\Delta k$, and $\operatorname{opaNetGainSq}(g_{\mathrm{OPA}}, 2 g_{\mathrm{OPA}}) = 0$ (complete parametric gate shutoff at $\Delta k = 2 g_{\mathrm{OPA}}$),
                                                                                                                    4. Symplectic Phase-Sensitive Quadrature Product & Trace Growth: For $r_{\mathrm{sq}} \ge 0$, $$1 \le \operatorname{opaAmplifiedQuadratureGain}(r_{\mathrm{sq}}), \qquad \operatorname{opaSqueezedQuadratureGain}(r_{\mathrm{sq}}) \le 1,$$ $$\operatorname{opaAmplifiedQuadratureGain}(r_{\mathrm{sq}})\,\operatorname{opaSqueezedQuadratureGain}(r_{\mathrm{sq}}) = 1.$$

                                                                                                                    AdS/CFT Correspondence (Maldacena 1998, GKPW 1998, KSS 2005, Ryu–Takayanagi 2006), AdS/CFT Integrability (Beisert et al. 2012, arXiv:1012.3982), and Secret Symmetries (arXiv:1204.2366) #

                                                                                                                    def Signals.Scattering.adsTftHooftCoupling (g_YM N_c : ℝ) :
                                                                                                                    ℝ

                                                                                                                    Planar 't Hooft coupling $\lambda = g_{\mathrm{YM}}^2 N_c$ in $SU(N_c)$ $\mathcal{N}=4$ Super Yang–Mills theory (Maldacena 1998, arXiv:hep-th/9711200; 't Hooft 1974).

                                                                                                                    Instances For
                                                                                                                      noncomputable def Signals.Scattering.adsCouplingFromStringTension (T_str : ℝ) :
                                                                                                                      ℝ

                                                                                                                      AdS/CFT coupling–tension dictionary $\lambda = 4\pi^2 T_{\mathrm{str}}^2$, relating the planar 't Hooft coupling $\lambda$ to the effective $\text{AdS}_5 \times S^5$ string tension $T_{\mathrm{str}} = R_{\mathrm{AdS}}^2 / (2\pi\alpha')$ (Beisert et al., 2012, Review of AdS/CFT Integrability, arXiv:1012.3982).

                                                                                                                      Instances For
                                                                                                                        noncomputable def Signals.Scattering.adsBreitenlohnerFreedmanBound (d : ℝ) :
                                                                                                                        ℝ

                                                                                                                        Breitenlohner–Freedman (BF) tachyon stability bound $m_{\mathrm{BF}}^2 R_{\mathrm{AdS}}^2 = -d^2 / 4$ for a scalar field in $\text{AdS}_{d+1}$ (Breitenlohner & Freedman, 1982).

                                                                                                                        Instances For
                                                                                                                          noncomputable def Signals.Scattering.adsCftScalingDimensionPlus (d m_sq_R_sq : ℝ) :
                                                                                                                          ℝ

                                                                                                                          Gubser–Klebanov–Polyakov–Witten (GKPW) normalizable CFT operator scaling dimension $\Delta_+(d, m^2 R_{\mathrm{AdS}}^2) = \frac{d}{2} + \sqrt{(d/2)^2 + m^2 R_{\mathrm{AdS}}^2}$ (Gubser, Klebanov & Polyakov 1998, arXiv:hep-th/9802109; Witten 1998, arXiv:hep-th/9802150).

                                                                                                                          Instances For
                                                                                                                            noncomputable def Signals.Scattering.adsCftScalingDimensionMinus (d m_sq_R_sq : ℝ) :
                                                                                                                            ℝ

                                                                                                                            GKPW conjugate (source/shadow) scaling dimension $\Delta_-(d, m^2 R_{\mathrm{AdS}}^2) = \frac{d}{2} - \sqrt{(d/2)^2 + m^2 R_{\mathrm{AdS}}^2}$.

                                                                                                                            Instances For
                                                                                                                              noncomputable def Signals.Scattering.kssShearViscosityEntropyBound (hbar k_B : ℝ) :
                                                                                                                              ℝ

                                                                                                                              Kovtun–Son–Starinets (KSS) holographic shear-viscosity-to-entropy-density bound $(\eta / s)_{\mathrm{KSS}} = \frac{\hbar}{4\pi k_B}$ (Kovtun, Son & Starinets, 2005, arXiv:hep-th/0405231).

                                                                                                                              Instances For
                                                                                                                                noncomputable def Signals.Scattering.brownHenneauxCentralCharge (R_ads G_N3 : ℝ) :
                                                                                                                                ℝ

                                                                                                                                Brown–Henneaux $\text{AdS}_3/\text{CFT}_2$ central charge $c_{\mathrm{BH}} = \frac{3 R_{\mathrm{AdS}}}{2 G_N^{(3)}}$ (Brown & Henneaux, 1986).

                                                                                                                                Instances For
                                                                                                                                  noncomputable def Signals.Scattering.ryuTakayanagiEntanglementEntropyAdS3 (R_ads G_N3 l_interval eps_uv : ℝ) :
                                                                                                                                  ℝ

                                                                                                                                  Ryu–Takayanagi $\text{AdS}_3/\text{CFT}_2$ holographic entanglement entropy $S_{\mathrm{EE}}(\ell, \epsilon_{\mathrm{UV}}) = \frac{R_{\mathrm{AdS}}}{2 G_N^{(3)}}\ln(\ell / \epsilon_{\mathrm{UV}}) = \frac{c_{\mathrm{BH}}}{3}\ln(\ell / \epsilon_{\mathrm{UV}})$ (Ryu & Takayanagi, 2006, arXiv:hep-th/0603001).

                                                                                                                                  Instances For
                                                                                                                                    noncomputable def Signals.Scattering.adsMagnonDispersionSq (M_bound lam p : ℝ) :
                                                                                                                                    ℝ

                                                                                                                                    All-loop $\mathfrak{psu}(2|2)^2 \ltimes \mathbb{R}^3$ bound-state magnon squared dispersion relation $E_{\mathrm{mag}}^2(M, \lambda, p) = M^2 + \frac{\lambda}{\pi^2}\sin^2(p/2)$ (Beisert 2005, arXiv:hep-th/0511082; Beisert et al. 2012, arXiv:1012.3982, Sec. III.2).

                                                                                                                                    Instances For
                                                                                                                                      noncomputable def Signals.Scattering.adsMagnonDispersion (M_bound lam p : ℝ) :
                                                                                                                                      ℝ

                                                                                                                                      All-loop AdS/CFT bound-state magnon energy $E_{\mathrm{mag}}(M, \lambda, p) = \sqrt{M^2 + \frac{\lambda}{\pi^2}\sin^2(p/2)}$.

                                                                                                                                      Instances For
                                                                                                                                        noncomputable def Signals.Scattering.betheOneLoopMagnonEnergy (lam u : ℝ) :
                                                                                                                                        ℝ

                                                                                                                                        Single-magnon one-loop planar Bethe energy contribution $\delta D_1(\lambda, u) = \frac{\lambda}{8\pi^2}\,\frac{1}{u^2 + 1/4}$ for Bethe rapidity $u$ (Minahan & Zarembo 2003, arXiv:hep-th/0212208; Beisert et al. 2012, arXiv:1012.3982, Sec. I.1).

                                                                                                                                        Instances For
                                                                                                                                          noncomputable def Signals.Scattering.konishiOneLoopAnomalousDim (lam : ℝ) :
                                                                                                                                          ℝ

                                                                                                                                          Planar one-loop anomalous dimension of the Konishi operator ($L=4, M=2$, Bethe roots $u_1 = -u_2 = \frac{1}{2\sqrt{3}}$, $u_k^2 = 1/12$): $\delta D_{\mathrm{Konishi}}^{(1)}(\lambda) = \frac{3\lambda}{4\pi^2}$ (Beisert et al. 2012, arXiv:1012.3982, Sec. I.2).

                                                                                                                                          Instances For
                                                                                                                                            noncomputable def Signals.Scattering.cuspAnomalousDimOneLoop (lam : ℝ) :
                                                                                                                                            ℝ

                                                                                                                                            One-loop planar cusp anomalous dimension $D_{\mathrm{cusp}}^{(1)}(\lambda) = \frac{\lambda}{2\pi^2}$ (Beisert et al. 2012, arXiv:1012.3982, Sec. III.4).

                                                                                                                                            Instances For
                                                                                                                                              noncomputable def Signals.Scattering.cuspAnomalousDimWeak3Loop (lam : ℝ) :
                                                                                                                                              ℝ

                                                                                                                                              Three-loop weak-coupling planar cusp anomalous dimension expansion $D_{\mathrm{cusp}}^{\mathrm{weak},3}(\lambda) = \frac{\lambda}{2\pi^2} - \frac{\lambda^2}{96\pi^2} + \frac{11\lambda^3}{23040\pi^2}$ (Beisert, Eden & Staudacher 2007; Beisert et al. 2012, arXiv:1012.3982, Sec. III.4).

                                                                                                                                              Instances For
                                                                                                                                                noncomputable def Signals.Scattering.psl22BraidedCentralChargeC (p : ℝ) :
                                                                                                                                                ℂ

                                                                                                                                                Braided central charge $\mathbb{C}(p) = e^{ip} - 1$ of the centrally extended Hopf superalgebra $\mathfrak{psl}(2|2)_c = D(2,1;-1)$ (de Leeuw, Matsumoto, Moriyama, Regelskis & Torrielli, 2012, Secret Symmetries in AdS/CFT, arXiv:1204.2366, Eq. (2.4)).

                                                                                                                                                Instances For
                                                                                                                                                  noncomputable def Signals.Scattering.psl22BraidedCentralChargeCDag (p : ℝ) :
                                                                                                                                                  ℂ

                                                                                                                                                  Conjugate braided central charge $\mathbb{C}^\dagger(p) = e^{-ip} - 1$ of $\mathfrak{psl}(2|2)_c$ (arXiv:1204.2366, Eq. (2.4)).

                                                                                                                                                  Instances For

                                                                                                                                                    Quasi-cocommutative two-site braided coproduct eigenvalue $\Delta(\mathbb{C})(C_1, C_2) = C_1 + C_2 + C_1 C_2$ (arXiv:1204.2366, Eq. (2.5)).

                                                                                                                                                    Instances For
                                                                                                                                                      def Signals.Scattering.gl22LongRepDim (j1 j2 : ℝ) :
                                                                                                                                                      ℝ

                                                                                                                                                      Typical (long) representation dimension $\dim V_{\mathrm{long}}(j_1, j_2) = 16(2 j_1 + 1)(2 j_2 + 1)$ of $\mathfrak{gl}(2|2)$ (arXiv:1204.2366, Sec. 2.3).

                                                                                                                                                      Instances For

                                                                                                                                                        Atypical (short / bound-state) representation dimension $\dim V_{\mathrm{short}}(M) = 4 M$ of $\mathfrak{psl}(2|2)_c$ (arXiv:1204.2366, Sec. 2.3).

                                                                                                                                                        Instances For
                                                                                                                                                          def Signals.Scattering.supertrace22 (M : Matrix (Fin 4) (Fin 4) ℝ) :
                                                                                                                                                          ℝ

                                                                                                                                                          Supertrace $\operatorname{STr}(M) = (M_{00} + M_{11}) - (M_{22} + M_{33})$ on a $(2|2)$-graded matrix $M \in \mathbb{R}^{4 \times 4}$ (arXiv:1204.2366, Sec. 2.3 & Sec. 3.4).

                                                                                                                                                          Instances For
                                                                                                                                                            def Signals.Scattering.secretSymmetryMatrix (B0 : ℝ) :
                                                                                                                                                            Matrix (Fin 4) (Fin 4) ℝ

                                                                                                                                                            Indented Yangian secret/bonus symmetry generator $\widehat{\mathbb{B}}(B_0) = B_0\,\operatorname{diag}(1, 1, -1, -1)$ in the $4$-dimensional fundamental representation of $\mathfrak{psl}(2|2)_c$ (Matsumoto, Moriyama & Torrielli 2007, arXiv:0708.1285; de Leeuw et al. 2012, arXiv:1204.2366, Eq. (3.2)).

                                                                                                                                                            Instances For
                                                                                                                                                              def Signals.Scattering.qDeformedHubbardCartanDA :
                                                                                                                                                              Matrix (Fin 4) (Fin 4) ℝ

                                                                                                                                                              Symmetric Cartan matrix $DA$ of the quantum-deformed Hubbard / AdS–CFT affine algebra $\widehat{Q} = U_q(\widehat{\mathfrak{sl}}(2|2))_c$ (arXiv:1204.2366, Eq. (3.15)).

                                                                                                                                                              Instances For
                                                                                                                                                                theorem Signals.Scattering.ads_cft_integrability_and_secret_symmetry_identities (d m_sq_R_sq hbar k_B R_ads G_N3 l_int eps_uv M_bound lam T_str p u_K p1 p2 B0 : ℝ) (hd_pos : 0 < d) (h_bf : adsBreitenlohnerFreedmanBound d ≤ m_sq_R_sq) (hhbar : 0 < hbar) (hkB : 0 < k_B) (hGN : 0 < G_N3) (hM_pos : 0 < M_bound) (hlam_nonneg : 0 ≤ lam) (hu_K : u_K ^ 2 = 1 / 12) :
                                                                                                                                                                have Δ_p := adsCftScalingDimensionPlus d m_sq_R_sq; have Δ_m := adsCftScalingDimensionMinus d m_sq_R_sq; have C_p := psl22BraidedCentralChargeC p; have CDag_p := psl22BraidedCentralChargeCDag p; have C_1 := psl22BraidedCentralChargeC p1; have C_2 := psl22BraidedCentralChargeC p2; Δ_p + Δ_m = d ∧ Δ_p * Δ_m = -m_sq_R_sq ∧ Δ_p * (Δ_p - d) = m_sq_R_sq ∧ adsCftScalingDimensionPlus d (adsBreitenlohnerFreedmanBound d) = d / 2 ∧ adsCftScalingDimensionPlus d 0 = d ∧ adsCftScalingDimensionMinus d 0 = 0 ∧ ryuTakayanagiEntanglementEntropyAdS3 R_ads G_N3 l_int eps_uv = brownHenneauxCentralCharge R_ads G_N3 / 3 * Real.log (l_int / eps_uv) ∧ 0 < kssShearViscosityEntropyBound hbar k_B ∧ adsCouplingFromStringTension (√lam / (2 * Real.pi)) = lam ∧ adsMagnonDispersion M_bound lam 0 = M_bound ∧ adsMagnonDispersionSq M_bound (adsCouplingFromStringTension T_str) Real.pi = M_bound ^ 2 + 4 * T_str ^ 2 ∧ M_bound ^ 2 ≤ adsMagnonDispersionSq M_bound lam p ∧ 2 * betheOneLoopMagnonEnergy lam u_K = konishiOneLoopAnomalousDim lam ∧ konishiOneLoopAnomalousDim lam = 3 / 2 * cuspAnomalousDimOneLoop lam ∧ cuspAnomalousDimWeak3Loop 0 = 0 ∧ C_p * CDag_p + C_p + CDag_p = 0 ∧ psl22BraidedCoproductC C_1 C_2 = psl22BraidedCoproductC C_2 C_1 ∧ (1 + C_1) * (1 + C_2) = 1 + psl22BraidedCoproductC C_1 C_2 ∧ gl22LongRepDim 0 0 = 16 ∧ psl22ShortBoundStateDim 1 = 4 ∧ psl22ShortBoundStateDim M_bound < gl22LongRepDim (M_bound / 2) 0 ∧ (secretSymmetryMatrix B0).trace = 0 ∧ supertrace22 (secretSymmetryMatrix B0) = 4 * B0 ∧ qDeformedHubbardCartanDA.transpose = qDeformedHubbardCartanDA ∧ qDeformedHubbardCartanDA.mulVec ![1, 1, 1, 1] = 0 ∧ qDeformedHubbardCartanDA.trace = 0 ∧ qDeformedHubbardCartanDA.det = 0

                                                                                                                                                                AdS/CFT Dictionary (Maldacena 1998, GKPW 1998, KSS 2005, Ryu–Takayanagi 2006), Planar Integrability (arXiv:1012.3982), & Secret Symmetries (arXiv:1204.2366) Theorem:

                                                                                                                                                                1. GKPW Mass–Dimension Dictionary & Breitenlohner–Freedman Stability Bound: For $d > 0$ and $m^2 R_{\mathrm{AdS}}^2 \ge \operatorname{adsBreitenlohnerFreedmanBound}(d) = -d^2 / 4$:
                                                                                                                                                                  • $\Delta_+(d, m^2 R_{\mathrm{AdS}}^2) + \Delta_-(d, m^2 R_{\mathrm{AdS}}^2) = d$,
                                                                                                                                                                  • $\Delta_+(d, m^2 R_{\mathrm{AdS}}^2)\,\Delta_-(d, m^2 R_{\mathrm{AdS}}^2) = -m^2 R_{\mathrm{AdS}}^2$,
                                                                                                                                                                  • $\Delta_+(d, m^2 R_{\mathrm{AdS}}^2)\bigl(\Delta_+(d, m^2 R_{\mathrm{AdS}}^2) - d\bigr) = m^2 R_{\mathrm{AdS}}^2$,
                                                                                                                                                                  • At the Breitenlohner–Freedman bound: $\Delta_+(d, -d^2 / 4) = d / 2$,
                                                                                                                                                                  • For a massless bulk scalar ($m^2 R_{\mathrm{AdS}}^2 = 0$): $\Delta_+(d, 0) = d$ and $\Delta_-(d, 0) = 0$,
                                                                                                                                                                2. Ryu–Takayanagi $\text{AdS}_3/\text{CFT}_2$ Entanglement Entropy & KSS Viscosity Bound:
                                                                                                                                                                  • $S_{\mathrm{EE}}(\ell, \epsilon_{\mathrm{UV}}) = \frac{c_{\mathrm{BH}}}{3}\ln(\ell / \epsilon_{\mathrm{UV}})$,
                                                                                                                                                                  • $0 < \operatorname{kssShearViscosityEntropyBound}(\hbar, k_B)$ for $\hbar > 0, k_B > 0$,
                                                                                                                                                                3. Planar Integrability (arXiv:1012.3982): BPS Ground State, All-Loop Magnon Dispersion, & Konishi One-Loop Check Figure:
                                                                                                                                                                  • $\operatorname{adsMagnonDispersion}(M, \lambda, 0) = M$ for $M > 0$ (zero-momentum BPS protection),
                                                                                                                                                                  • $M^2 \le \operatorname{adsMagnonDispersionSq}(M, \lambda, p)$ for $\lambda \ge 0$,
                                                                                                                                                                  • At the Konishi Bethe root $u_{\mathrm{K}}^2 = 1 / 12$, the two-magnon one-loop anomalous dimension satisfies $$2 \cdot \operatorname{betheOneLoopMagnonEnergy}(\lambda, u_{\mathrm{K}}) = \operatorname{konishiOneLoopAnomalousDim}(\lambda) = \frac{3\lambda}{4\pi^2},$$
                                                                                                                                                                4. Secret Symmetries in AdS/CFT (arXiv:1204.2366):
                                                                                                                                                                  • Braided Central-Charge Quadratic Constraint (Eq. (2.5)): $$\mathbb{C}(p)\,\mathbb{C}^\dagger(p) + \mathbb{C}(p) + \mathbb{C}^\dagger(p) = 0,$$
                                                                                                                                                                  • Quasi-Cocommutativity & Two-Magnon Braided Phase Factorization (Eq. (2.4)–(2.5)): $$\operatorname{psl22BraidedCoproductC}(C_1, C_2) = \operatorname{psl22BraidedCoproductC}(C_2, C_1),$$ $$(1 + \mathbb{C}(p_1))(1 + \mathbb{C}(p_2)) = 1 + \operatorname{psl22BraidedCoproductC}(\mathbb{C}(p_1), \mathbb{C}(p_2)),$$
                                                                                                                                                                  • Short vs. Long Representation Dimension Compression (Sec. 2.3): $\operatorname{gl22LongRepDim}(0, 0) = 16$, $\operatorname{psl22ShortBoundStateDim}(1) = 4$, and $\operatorname{psl22ShortBoundStateDim}(M) < \operatorname{gl22LongRepDim}(M / 2, 0)$ for $M > 0$,
                                                                                                                                                                  • Indented Yangian Secret Generator Supertrace (Eq. (3.2) & Sec. 3.4): $\operatorname{Matrix.trace}(\operatorname{secretSymmetryMatrix} B_0) = 0$ and $\operatorname{supertrace22}(\operatorname{secretSymmetryMatrix} B_0) = 4 B_0$,
                                                                                                                                                                  • $q$-Deformed Hubbard Affine Cartan Degeneracy (Eq. (3.15)): $\operatorname{Matrix.trace}(\operatorname{qDeformedHubbardCartanDA}) = 0$ and $\operatorname{Matrix.det}(\operatorname{qDeformedHubbardCartanDA}) = 0$.

                                                                                                                                                                Full $16 \times 16$ $\mathfrak{psl}(2|2)_c$ Worldsheet $R$-Matrix & Indented Yangian Secret Coproduct Intertwining (arXiv:1204.2366, Eq. (3.1)–(3.3)) #

                                                                                                                                                                def Signals.Scattering.psl22ParitySign (idx : Fin 4) :
                                                                                                                                                                ℝ

                                                                                                                                                                $\mathbb{Z}_2$ parity sign $(-1)^{|a|} = +1$ for bosonic basis indices $a \in \{0, 1\}$ ($|\phi^a| = 0$) and $-1$ for fermionic basis indices $a \in \{2, 3\}$ ($|\psi^\alpha| = 1$) in the $4$-dimensional fundamental $(2|2)$-graded module $V$ of $\mathfrak{psl}(2|2)_c$.

                                                                                                                                                                Instances For
                                                                                                                                                                  def Signals.Scattering.psl22FirstFactor (I : Fin 16) :
                                                                                                                                                                  Fin 4

                                                                                                                                                                  First tensor-factor index $\lfloor I / 4 \rfloor \in \operatorname{Fin}(4)$ of a composite two-site index $I \in \operatorname{Fin}(16)$ in $V \otimes V \cong \mathbb{R}^{16}$.

                                                                                                                                                                  Instances For
                                                                                                                                                                    def Signals.Scattering.psl22SecondFactor (I : Fin 16) :
                                                                                                                                                                    Fin 4

                                                                                                                                                                    Second tensor-factor index $(I \bmod 4) \in \operatorname{Fin}(4)$ of a composite two-site index $I \in \operatorname{Fin}(16)$ in $V \otimes V \cong \mathbb{R}^{16}$.

                                                                                                                                                                    Instances For
                                                                                                                                                                      def Signals.Scattering.psl22PairIndex (a b : Fin 4) :
                                                                                                                                                                      Fin 16

                                                                                                                                                                      Composite two-site index $4 a + b \in \operatorname{Fin}(16)$ for $a, b \in \operatorname{Fin}(4)$.

                                                                                                                                                                      Instances For
                                                                                                                                                                        def Signals.Scattering.psl22GradedSwap16 :
                                                                                                                                                                        Matrix (Fin 16) (Fin 16) ℝ

                                                                                                                                                                        $16 \times 16$ graded permutation matrix $\Pi_{16}$ on $V \otimes V \cong \mathbb{R}^{16}$: $\Pi_{16}|a \otimes b\rangle = (-1)^{|a||b|}|b \otimes a\rangle$, acquiring a $-1$ Koszul sign when two fermionic states ($a, b \in \{2, 3\}$) exchange.

                                                                                                                                                                        Instances For

                                                                                                                                                                          Applying the factor-swap map $(a, b) \mapsto (b, a)$ twice on $\operatorname{Fin}(16)$ is the identity permutation and swaps the first and second factor indices.

                                                                                                                                                                          The factor-swap relation $J = \operatorname{swap}(I)$ is equivalent to $\operatorname{swap}(J) = I$.

                                                                                                                                                                          def Signals.Scattering.psl22SecretCoproductDiag16 (B1 B2 : ℝ) :
                                                                                                                                                                          Matrix (Fin 16) (Fin 16) ℝ

                                                                                                                                                                          $16 \times 16$ two-site diagonal secret symmetry coproduct matrix $\Delta_{\mathrm{diag}}(\widehat{\mathbb{B}})(B_1, B_2) = \widehat{\mathbb{B}}(B_1) \otimes 1 + 1 \otimes \widehat{\mathbb{B}}(B_2)$ acting on $V(p_1) \otimes V(p_2) \cong \mathbb{R}^{16}$ (arXiv:1204.2366, Eq. (3.2)–(3.3)).

                                                                                                                                                                          Instances For
                                                                                                                                                                            def Signals.Scattering.psl22SecretCoproductOp16 (B1 B2 : ℝ) :
                                                                                                                                                                            Matrix (Fin 16) (Fin 16) ℝ

                                                                                                                                                                            $16 \times 16$ opposite two-site diagonal secret symmetry coproduct matrix $\Delta_{\mathrm{diag}}^{\mathrm{op}}(\widehat{\mathbb{B}})(B_1, B_2) = \widehat{\mathbb{B}}(B_2) \otimes 1 + 1 \otimes \widehat{\mathbb{B}}(B_1)$ after permutation of the two worldsheet excitations (arXiv:1204.2366, Eq. (3.1)).

                                                                                                                                                                            Instances For
                                                                                                                                                                              def Signals.Scattering.psl22WorldsheetRMatrix16 (A_B B_B D_F E_F G_BF L_BF : ℝ) :
                                                                                                                                                                              Matrix (Fin 16) (Fin 16) ℝ

                                                                                                                                                                              $16 \times 16$ $\mathfrak{su}(2) \oplus \mathfrak{su}(2)$-invariant worldsheet $S$/$R$-matrix $R_{16}(A_B, B_B, D_F, E_F, G_{BF}, L_{BF})$ on $V(p_1) \otimes V(p_2) \cong \mathbb{R}^{16}$ in the grading-preserving sector (where $A_B, B_B$ are the Beisert $\mathfrak{su}(2)$ bosonic scattering amplitudes, $D_F, E_F$ are the fermionic $\mathfrak{su}(2)$ amplitudes, and $G_{BF}, L_{BF}$ are the mixed boson–fermion transmission and reflection amplitudes of Beisert 2005 / arXiv:1204.2366 Sec. 2.2 & Sec. 3.1).

                                                                                                                                                                              Instances For
                                                                                                                                                                                noncomputable def Signals.Scattering.psl22YangianTail16 (tau : ℝ) :
                                                                                                                                                                                Matrix (Fin 16) (Fin 16) ℝ

                                                                                                                                                                                $16 \times 16$ antisymmetric off-diagonal Yangian tail matrix $\Delta_{\mathrm{tail}}(\widehat{\mathbb{B}})(\tau)$ (arXiv:1204.2366, Eq. (3.2), corresponding to the bi-local level-0 Casimir tail $\frac{i}{2}\mathbb{J}_a^b \otimes \mathbb{J}_b^a$ acting on the mixed boson–fermion permutation channel $|a \otimes b\rangle \leftrightarrow |b \otimes a\rangle$): $$\Delta_{\mathrm{tail}}(\tau)_{IJ} = \delta_{J,\,\operatorname{swap}(I)}\,\tau\,\frac{(-1)^{|a|} - (-1)^{|b|}}{2}.$$

                                                                                                                                                                                Instances For
                                                                                                                                                                                  noncomputable def Signals.Scattering.psl22SecretCoproductFull16 (B1 B2 G_BF L_BF : ℝ) :
                                                                                                                                                                                  Matrix (Fin 16) (Fin 16) ℝ

                                                                                                                                                                                  Full $16 \times 16$ Yangian secret symmetry coproduct matrix (scaled by $G_{BF}$ to avoid division) $\Delta_{\mathrm{full}}(\widehat{\mathbb{B}})(B_1, B_2, G_{BF}, L_{BF}) = G_{BF}\,\Delta_{\mathrm{diag}}(\widehat{\mathbb{B}})(B_1, B_2) + \Delta_{\mathrm{tail}}\bigl((B_1 - B_2)\,L_{BF}\bigr)$ (arXiv:1204.2366, Eq. (3.2)–(3.3)).

                                                                                                                                                                                  Instances For
                                                                                                                                                                                    noncomputable def Signals.Scattering.psl22SecretCoproductFullOp16 (B1 B2 G_BF L_BF : ℝ) :
                                                                                                                                                                                    Matrix (Fin 16) (Fin 16) ℝ

                                                                                                                                                                                    Opposite full $16 \times 16$ Yangian secret symmetry coproduct matrix $\Delta_{\mathrm{full}}^{\mathrm{op}}(\widehat{\mathbb{B}})(B_1, B_2, G_{BF}, L_{BF}) = G_{BF}\,\Delta_{\mathrm{diag}}^{\mathrm{op}}(\widehat{\mathbb{B}})(B_1, B_2) + \Delta_{\mathrm{tail}}\bigl((B_1 - B_2)\,L_{BF}\bigr)$ (arXiv:1204.2366, Eq. (3.1)–(3.3)).

                                                                                                                                                                                    Instances For
                                                                                                                                                                                      theorem Signals.Scattering.psl22_rmatrix16_secret_coproduct_intertwining (B1 B2 B0 A_B B_B D_F E_F G_BF L_BF : ℝ) :
                                                                                                                                                                                      psl22GradedSwap16 * psl22GradedSwap16 = 1 ∧ psl22SecretCoproductOp16 B1 B2 * psl22GradedSwap16 = psl22GradedSwap16 * psl22SecretCoproductDiag16 B1 B2 ∧ psl22SecretCoproductOp16 B1 B2 * psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF 0 = psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF 0 * psl22SecretCoproductDiag16 B1 B2 ∧ psl22SecretCoproductOp16 B0 B0 * psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF L_BF = psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF L_BF * psl22SecretCoproductDiag16 B0 B0 ∧ (psl22SecretCoproductOp16 B1 B2 * psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF L_BF - psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF L_BF * psl22SecretCoproductDiag16 B1 B2) 2 2 = 2 * (B2 - B1) * L_BF ∧ psl22SecretCoproductFullOp16 B1 B2 G_BF L_BF * psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF L_BF = psl22WorldsheetRMatrix16 A_B B_B D_F E_F G_BF L_BF * psl22SecretCoproductFull16 B1 B2 G_BF L_BF

                                                                                                                                                                                      Full $16 \times 16$ $\mathfrak{psl}(2|2)_c$ Worldsheet $R$-Matrix & Secret Coproduct Intertwining Theorem (arXiv:1204.2366, Eq. (3.1)–(3.3)):

                                                                                                                                                                                      1. Graded Permutation Involution: $\Pi_{16}^2 = I_{16}$ on $(\mathbb{R}^{2|2})^{\otimes 2} \cong \mathbb{R}^{16}$,
                                                                                                                                                                                      2. Exact Graded-Swap Intertwining Between $\Delta(\widehat{\mathbb{B}})$ and $\Delta^{\mathrm{op}}(\widehat{\mathbb{B}})$: For arbitrary rapidity-dependent secret charges $B_1, B_2 \in \mathbb{R}$ (arXiv:1204.2366, Eq. (3.1)), $$\Delta_{\mathrm{diag}}^{\mathrm{op}}(\widehat{\mathbb{B}})(B_1, B_2)\,\Pi_{16} = \Pi_{16}\,\Delta_{\mathrm{diag}}(\widehat{\mathbb{B}})(B_1, B_2),$$
                                                                                                                                                                                      3. Full $16 \times 16$ Worldsheet $R$-Matrix Secret Intertwining (Transmission Block $L_{BF} = 0$): For any bosonic amplitudes $(A_B, B_B)$, fermionic amplitudes $(D_F, E_F)$, and boson–fermion permutation amplitude $G_{BF}$ (with non-permuting mixed amplitude $L_{BF} = 0$), the $16 \times 16$ matrix equation holds for arbitrary $B_1, B_2 \in \mathbb{R}$: $$\Delta_{\mathrm{diag}}^{\mathrm{op}}(\widehat{\mathbb{B}})(B_1, B_2)\, R_{16}(A_B, B_B, D_F, E_F, G_{BF}, 0) = R_{16}(A_B, B_B, D_F, E_F, G_{BF}, 0)\, \Delta_{\mathrm{diag}}(\widehat{\mathbb{B}})(B_1, B_2),$$
                                                                                                                                                                                      4. Equal-Charge ($B_1 = B_2 = B_0$) Universal $16 \times 16$ Commutation & Non-Equal Mixed Obstruction: When $B_1 = B_2 = B_0$, $\Delta_{\mathrm{diag}}(\widehat{\mathbb{B}})(B_0, B_0)$ commutes with the full 6-parameter $R_{16}(A_B, B_B, D_F, E_F, G_{BF}, L_{BF})$ for arbitrary $L_{BF}$; whereas for $B_1 \neq B_2$ and $L_{BF} \neq 0$, the mixed boson–fermion diagonal residual at $I = (0, 2)$ equals $2(B_2 - B_1)L_{BF} \neq 0$,
                                                                                                                                                                                      5. Exact Full $16 \times 16$ Yangian Tail Restoration for Arbitrary $B_1 \neq B_2$ and $L_{BF} \neq 0$ (arXiv:1204.2366, Eq. (3.1)–(3.3)): Including the off-diagonal Yangian tail $\Delta_{\mathrm{tail}}\bigl((B_1 - B_2)L_{BF}\bigr)$ cancels the mixed boson–fermion diagonal residual identically across all $16 \times 16$ entries for all $B_1, B_2, A_B, B_B, D_F, E_F, G_{BF}, L_{BF} \in \mathbb{R}$: $$\Delta_{\mathrm{full}}^{\mathrm{op}}(\widehat{\mathbb{B}})(B_1, B_2, G_{BF}, L_{BF})\, R_{16}(A_B, B_B, D_F, E_F, G_{BF}, L_{BF}) = R_{16}(A_B, B_B, D_F, E_F, G_{BF}, L_{BF})\, \Delta_{\mathrm{full}}(\widehat{\mathbb{B}})(B_1, B_2, G_{BF}, L_{BF}).$$