Phases of Muoncompanion
Section SC · Drift: the expected regularized update
Proved in Lean
Lemma SC.1 (Deletion identities for the mixed resolvent)
In the setting of Lemma SB.4, with \(\mathsf X\defeq\mathsf X_s(M)\),
\begin{align} \mathsf h\,R\mathsf u&=\alpha_1\,R_0\mathsf u-\alpha_2\,\mathsf X_0\mathsf v ,\tag{SC.17}\\ \mathsf X-\mathsf X_0&=\alpha_3\,R_0(\mathsf u\tensor\mathsf u)\mathsf X_0+s\,\alpha_1\,R_0(\mathsf u\tensor\mathsf v)\widetilde R_0 -\alpha_1\,\mathsf X_0(\mathsf v\tensor\mathsf u)\mathsf X_0-s\,\alpha_2\,\mathsf X_0(\mathsf v\tensor\mathsf v)\widetilde R_0 . \tag{SC.18} \end{align}
Both identities hold at \(z\in\mathbb S\) in place of \(s\), with the quantities of Lemma SB.4 at \(z\) and \(\mathsf X\defeq\mathsf X_z(M)\).
Proof.
The first identity is (SB.14) applied to \(\mathsf u\). Multiplying (SB.14) on the right by \(\mathsf u\) and using the definitions (SB.12) of \(\mathsf U\) and \(\mathsf C\),
\[ R\mathsf u=R_0\mathsf u\,\big(1+\alpha_3\mathsf U-\alpha_1\mathsf C\big)+\mathsf X_0\mathsf v\,\big(-\alpha_1\mathsf U+\alpha_2\mathsf C\big). \]
The two scalar coefficients simplify by the definitions (SB.13):
\[ 1+\alpha_3\mathsf U-\alpha_1\mathsf C=\frac{\Lambda-s\mathsf h^2\mathsf U\mathsf V-\mathsf h\mathsf C(1+\mathsf h\mathsf C)}{\Lambda} =\frac{(1+\mathsf h\mathsf C)^2-\mathsf h\mathsf C(1+\mathsf h\mathsf C)}{\Lambda}=\frac{1+\mathsf h\mathsf C}{\Lambda}, \]
\[ -\alpha_1\mathsf U+\alpha_2\mathsf C=\frac{-\mathsf h(1+\mathsf h\mathsf C)\mathsf U+\mathsf h^2\mathsf U\mathsf C}{\Lambda}=-\frac{\mathsf h\mathsf U}{\Lambda}. \]
Multiplying by \(\mathsf h\) gives \(\mathsf h(1+\mathsf h\mathsf C)/\Lambda=\alpha_1\) and \(-\mathsf h^2\mathsf U/\Lambda=-\alpha_2\), which is (SC.17).
The second identity follows from the first and from (SB.14). Since \(M=M_0+\mathsf h\,\mathsf u\tensor\mathsf v\),
\[ \mathsf X=RM=RM_0+(\mathsf hR\mathsf u)\tensor\mathsf v=\mathsf X_0+(R-R_0)M_0+(\mathsf hR\mathsf u)\tensor\mathsf v . \]
In the middle term we use \(\mathsf u^\T R_0M_0=\mathsf u^\T\mathsf X_0\) and the identity \(\mathsf X_0^\T M_0=M_0^\T R_0M_0=\Id-s\widetilde R_0\) of Lemma SB.3, so that \(\mathsf v^\T\mathsf X_0^\T M_0=\mathsf v^\T-s\,\mathsf v^\T\widetilde R_0\). Inserting (SB.14),
\[ \begin{aligned} (R-R_0)M_0={}&\alpha_3\,(R_0\mathsf u)\tensor(\mathsf X_0^\T\mathsf u) -\alpha_1\,(R_0\mathsf u)\tensor\big(\mathsf v-s\widetilde R_0\mathsf v\big)\\ &-\alpha_1\,(\mathsf X_0\mathsf v)\tensor(\mathsf X_0^\T\mathsf u) +\alpha_2\,(\mathsf X_0\mathsf v)\tensor\big(\mathsf v-s\widetilde R_0\mathsf v\big). \end{aligned} \]
By (SC.17) the last term of \(\mathsf X\) is \((\alpha_1R_0\mathsf u-\alpha_2\mathsf X_0\mathsf v)\tensor\mathsf v\), which cancels the two terms of \((R-R_0)M_0\) that carry \(\tensor\mathsf v\). What remains is (SC.18), since \((R_0\mathsf u)\tensor(\mathsf X_0^\T\mathsf u)=R_0(\mathsf u\tensor\mathsf u)\mathsf X_0\) and similarly for the other three terms.
At \(z\in\mathbb S\) the proof is verbatim with \(s\) replaced by \(z\): it is algebraic and uses only Lemma SB.4 and the identities of Lemma SB.3, which hold at \(z\).

Uses

Used by

Lean

Proved in Lean
Muon.Drift.lem_app_drift_column source
theorem lem_app_drift_column
    (M M₀ : Mat m n) (h s : ℝ) (u : Vec m) (v : Vec n)
    (hM : M = M₀ + h • outer u v) (hs : 0 < s) :
    h • (Muon.DetEquiv.Rs M s *ᵥ u) =
        Muon.DetEquiv.alpha1 M₀ h u v s • (Muon.DetEquiv.Rs M₀ s *ᵥ u)
          - Muon.DetEquiv.alpha2 M₀ h u v s • (Muon.DetEquiv.Xs M₀ s *ᵥ v) ∧
    Muon.DetEquiv.Xs M s - Muon.DetEquiv.Xs M₀ s =
        Muon.DetEquiv.alpha3 M₀ h u v s •
            (Muon.DetEquiv.Rs M₀ s * outer u u * Muon.DetEquiv.Xs M₀ s)
          + (s * Muon.DetEquiv.alpha1 M₀ h u v s) •
            (Muon.DetEquiv.Rs M₀ s * outer u v * Muon.DetEquiv.Rts M₀ s)
          - Muon.DetEquiv.alpha1 M₀ h u v s •
            (Muon.DetEquiv.Xs M₀ s * outer v u * Muon.DetEquiv.Xs M₀ s)
          - (s * Muon.DetEquiv.alpha2 M₀ h u v s) •
            (Muon.DetEquiv.Xs M₀ s * outer v v * Muon.DetEquiv.Rts M₀ s) := by
Muon.Drift.lem_app_drift_column_field_i source
theorem lem_app_drift_column_field_i
    (M M₀ : Matrix (Fin m) (Fin n) K) (h s : K) (u : Fin m → K) (v : Fin n → K)
    (hΛ : colLambda M₀ h u v s ≠ 0)
    (hdel : colR M s - colR M₀ s =
      colAlpha3 M₀ h u v s • vecMulVec (colR M₀ s *ᵥ u) (colR M₀ s *ᵥ u)
        - colAlpha1 M₀ h u v s • vecMulVec (colR M₀ s *ᵥ u) (colX M₀ s *ᵥ v)
        - colAlpha1 M₀ h u v s • vecMulVec (colX M₀ s *ᵥ v) (colR M₀ s *ᵥ u)
        + colAlpha2 M₀ h u v s • vecMulVec (colX M₀ s *ᵥ v) (colX M₀ s *ᵥ v)) :
    h • (colR M s *ᵥ u) =
      colAlpha1 M₀ h u v s • (colR M₀ s *ᵥ u) - colAlpha2 M₀ h u v s • (colX M₀ s *ᵥ v) := by
Muon.Drift.lem_app_drift_column_field_ii source
theorem lem_app_drift_column_field_ii
    (M M₀ : Matrix (Fin m) (Fin n) K) (h s : K) (u : Fin m → K) (v : Fin n → K)
    (hM : M = M₀ + h • vecMulVec u v)
    (hR₀ : IsUnit (M₀ * M₀ᵀ + s • (1 : Matrix (Fin m) (Fin m) K)).det)
    (hRt₀ : IsUnit (M₀ᵀ * M₀ + s • (1 : Matrix (Fin n) (Fin n) K)).det)
    (hΛ : colLambda M₀ h u v s ≠ 0)
    (hdel : colR M s - colR M₀ s =
      colAlpha3 M₀ h u v s • vecMulVec (colR M₀ s *ᵥ u) (colR M₀ s *ᵥ u)
        - colAlpha1 M₀ h u v s • vecMulVec (colR M₀ s *ᵥ u) (colX M₀ s *ᵥ v)
        - colAlpha1 M₀ h u v s • vecMulVec (colX M₀ s *ᵥ v) (colR M₀ s *ᵥ u)
        + colAlpha2 M₀ h u v s • vecMulVec (colX M₀ s *ᵥ v) (colX M₀ s *ᵥ v)) :
    colX M s - colX M₀ s =
      colAlpha3 M₀ h u v s • (colR M₀ s * vecMulVec u u * colX M₀ s)
        + (s * colAlpha1 M₀ h u v s) • (colR M₀ s * vecMulVec u v * colRt M₀ s)
        - colAlpha1 M₀ h u v s • (colX M₀ s * vecMulVec v u * colX M₀ s)
        - (s * colAlpha2 M₀ h u v s) • (colX M₀ s * vecMulVec v v * colRt M₀ s) := by