Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix B, eqs. (B1)-(B9): a sufficient condition for a symmetric response matrix

Proved
Arxiv1705_08274.symmetric_response_sufficient_condition

by Xeroth · Nov 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

doubling-and-addingmatrix-exponentialpolarizationradiative-transferresponse-matrix

Let P∗=[P11∗P12∗P21∗P22∗]P^*=\begin{bmatrix}P^*_{11}&P^*_{12}\\P^*_{21}&P^*_{22}\end{bmatrix}P∗=[P11∗​P21∗​​P12∗​P22∗​​] (blocks of order 2N2N2N) and suppose

P=[P22∗P21∗P12∗P11∗](B2b).P=\begin{bmatrix}P^*_{22}&P^*_{21}\\P^*_{12}&P^*_{11}\end{bmatrix}\quad(B2b).P=[P22∗​P12∗​​P21∗​P11∗​​](B2b).

Assume P11∗−P21∗P^*_{11}-P^*_{21}P11∗​−P21∗​ and P11∗+P21∗P^*_{11}+P^*_{21}P11∗​+P21∗​ are invertible. Let R=[−P12P11∗−P22P21∗]−1[−P12∗P11−P22∗P21]R=\begin{bmatrix}-P_{12}&P^*_{11}\\-P_{22}&P^*_{21}\end{bmatrix}^{-1}\begin{bmatrix}-P^*_{12}&P_{11}\\-P^*_{22}&P_{21}\end{bmatrix}R=[−P12​−P22​​P11∗​P21∗​​]−1[−P12∗​−P22∗​​P11​P21​​] be the response matrix (B1) of the scheme Yj+1=P∗−1PYjY_{j+1}=P^{*-1}PY_jYj+1​=P∗−1PYj​. Then:

  1. R=[−P21∗P11∗−P11∗P21∗]−1[−P12∗P22∗−P22∗P12∗]R=\begin{bmatrix}-P^*_{21}&P^*_{11}\\-P^*_{11}&P^*_{21}\end{bmatrix}^{-1}\begin{bmatrix}-P^*_{12}&P^*_{22}\\-P^*_{22}&P^*_{12}\end{bmatrix}R=[−P21∗​−P11∗​​P11∗​P21∗​​]−1[−P12∗​−P22∗​​P22∗​P12∗​​] (B3);
  2. [P11∗−P21∗−P21∗P11∗]−1=[T1∗T2∗T2∗T1∗]\begin{bmatrix}P^*_{11}&-P^*_{21}\\-P^*_{21}&P^*_{11}\end{bmatrix}^{-1}=\begin{bmatrix}T_1^*&T_2^*\\T_2^*&T_1^*\end{bmatrix}[P11∗​−P21∗​​−P21∗​P11∗​​]−1=[T1∗​T2∗​​T2∗​T1∗​​] with T1,2∗=12[(P11∗−P21∗)−1±(P11∗+P21∗)−1]T^*_{1,2}=\tfrac12\big[(P^*_{11}-P^*_{21})^{-1}\pm(P^*_{11}+P^*_{21})^{-1}\big]T1,2∗​=21​[(P11∗​−P21∗​)−1±(P11∗​+P21∗​)−1] (B5)-(B7);
  3. R=[T1∗T2∗T2∗T1∗][P22∗−P12∗−P12∗P22∗]R=\begin{bmatrix}T_1^*&T_2^*\\T_2^*&T_1^*\end{bmatrix}\begin{bmatrix}P^*_{22}&-P^*_{12}\\-P^*_{12}&P^*_{22}\end{bmatrix}R=[T1∗​T2∗​​T2∗​T1∗​​][P22∗​−P12∗​​−P12∗​P22∗​​] (B8);
  4. R=[TnRfRfTn]R=\begin{bmatrix}T_n&R_f\\R_f&T_n\end{bmatrix}R=[Tn​Rf​​Rf​Tn​​] is symmetric, with
TnRf=12[(P11∗−P21∗)−1(P22∗−P12∗)±(P11∗+P21∗)−1(P22∗+P12∗)](B9).\begin{matrix}T_n\\R_f\end{matrix}=\tfrac12\Big[(P^*_{11}-P^*_{21})^{-1}(P^*_{22}-P^*_{12})\pm(P^*_{11}+P^*_{21})^{-1}(P^*_{22}+P^*_{12})\Big]\quad(B9).Tn​Rf​​=21​[(P11∗​−P21∗​)−1(P22∗​−P12∗​)±(P11∗​+P21∗​)−1(P22∗​+P12∗​)](B9).

This is the sufficient condition used for the diamond difference, Padé and RK5 node approximations.

Formalization Note The two invertibility hypotheses are not stated in the paper. Under (B2b) they are equivalent to the invertibility of the matrix inverted in (B1).

Preamble
import Mathlib
import Definitions.Def_Arxiv1705_08274_Basic

open Matrix
Formal statement
namespace Arxiv1705_08274

theorem symmetric_response_sufficient_condition {N : ℕ}
    (Ps P : Matrix (Dir N ⊕ Dir N) (Dir N ⊕ Dir N) ℝ)
    (hP : P = fromBlocks Ps.toBlocks₂₂ Ps.toBlocks₂₁ Ps.toBlocks₁₂ Ps.toBlocks₁₁)
    (hm : IsUnit (Ps.toBlocks₁₁ - Ps.toBlocks₂₁).det)
    (hp : IsUnit (Ps.toBlocks₁₁ + Ps.toBlocks₂₁).det) :
    let P11 := Ps.toBlocks₁₁
    let P12 := Ps.toBlocks₁₂
    let P21 := Ps.toBlocks₂₁
    let P22 := Ps.toBlocks₂₂
    let T1 := (1 / 2 : ℝ) • ((P11 - P21)⁻¹ + (P11 + P21)⁻¹)
    let T2 := (1 / 2 : ℝ) • ((P11 - P21)⁻¹ - (P11 + P21)⁻¹)
    let Tn := (1 / 2 : ℝ) • ((P11 - P21)⁻¹ * (P22 - P12) + (P11 + P21)⁻¹ * (P22 + P12))
    let Rf := (1 / 2 : ℝ) • ((P11 - P21)⁻¹ * (P22 - P12) - (P11 + P21)⁻¹ * (P22 + P12))
    respOfPair Ps P = (fromBlocks (-P21) P11 (-P11) P21)⁻¹ * fromBlocks (-P12) P22 (-P22) P12 ∧
    (fromBlocks P11 (-P21) (-P21) P11)⁻¹ = fromBlocks T1 T2 T2 T1 ∧
    respOfPair Ps P = fromBlocks T1 T2 T2 T1 * fromBlocks P22 (-P12) (-P12) P22 ∧
    respOfPair Ps P = fromBlocks Tn Rf Rf Tn := by sorry

end Arxiv1705_08274
Source
B. D. Ganapol, A 1D Radiative Transfer Benchmark with Polarization via Doubling and Adding, arXiv:1705.08274v1 (2017), claim c008; Section II.A.1, PDF p. 21; Appendix B, eqs. (B1), (B2b), (B3)-(B9), PDF pp. 40-42
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Fix a natural number NNN (possibly N=0N = 0N=0). Let DN={1,…,N}×{I,Q}\mathcal{D}_N = \{1,\dots,N\} \times \{I, Q\}DN​={1,…,N}×{I,Q} be an index set of size 2N2N2N, made of a direction index mmm and a Stokes component. All matrices below are real square matrices of order 4N4N4N. Each is indexed by two disjoint copies of DN\mathcal{D}_NDN​, an "upper" copy and a "lower" copy. Each is viewed as a 2×22 \times 22×2 block matrix whose four blocks are real 2N×2N2N \times 2N2N×2N matrices.

Data. The theorem takes two such matrices, P∗P^*P∗ and PPP, with no other restrictions on their entries. It writes the blocks of P∗P^*P∗ as

P∗=(P11∗P12∗P21∗P22∗).P^* = \begin{pmatrix} P^*_{11} & P^*_{12} \\ P^*_{21} & P^*_{22} \end{pmatrix}.P∗=(P11∗​P21∗​​P12∗​P22∗​​).

Hypotheses.

  1. PPP is completely determined by P∗P^*P∗: its blocks are those of P∗P^*P∗ reversed in both directions,
P=(P22∗P21∗P12∗P11∗).P = \begin{pmatrix} P^*_{22} & P^*_{21} \\ P^*_{12} & P^*_{11} \end{pmatrix}.P=(P22∗​P12∗​​P21∗​P11∗​​).
  1. det⁡(P11∗−P21∗)≠0\det(P^*_{11} - P^*_{21}) \neq 0det(P11∗​−P21∗​)=0.
  2. det⁡(P11∗+P21∗)≠0\det(P^*_{11} + P^*_{21}) \neq 0det(P11∗​+P21∗​)=0.

No other assumptions are made. In particular:

  • P∗P^*P∗ need not come from a radiative-transfer model, a Padé approximant, or a Runge–Kutta step.
  • When N=0N = 0N=0 all matrices are empty, both determinants equal 111, and every claim holds trivially.

Inverse convention. Throughout, X−1X^{-1}X−1 denotes the generalized inverse. It is the true inverse when det⁡X≠0\det X \neq 0detX=0 and the zero matrix otherwise. The hypotheses explicitly assert invertibility only of the two 2N×2N2N \times 2N2N×2N matrices P11∗∓P21∗P^*_{11} \mp P^*_{21}P11∗​∓P21∗​. Invertibility of the 4N×4N4N \times 4N4N×4N block matrices inverted below is not separately assumed.

Response matrix. Let RRR be the response matrix built from the pair (P∗,P)(P^*, P)(P∗,P), defined as

R=(−P12P11∗−P22P21∗)−1(−P12∗P11−P22∗P21),R = \begin{pmatrix} -P_{12} & P^*_{11} \\ -P_{22} & P^*_{21} \end{pmatrix}^{-1} \begin{pmatrix} -P^*_{12} & P_{11} \\ -P^*_{22} & P_{21} \end{pmatrix},R=(−P12​−P22​​P11∗​P21∗​​)−1(−P12∗​−P22∗​​P11​P21​​),

where PijP_{ij}Pij​ are the blocks of PPP.

Auxiliary matrices. Define the following 2N×2N2N \times 2N2N×2N matrices:

T1=12[(P11∗−P21∗)−1+(P11∗+P21∗)−1],T2=12[(P11∗−P21∗)−1−(P11∗+P21∗)−1],T_1 = \tfrac12\big[(P^*_{11} - P^*_{21})^{-1} + (P^*_{11} + P^*_{21})^{-1}\big], \qquad T_2 = \tfrac12\big[(P^*_{11} - P^*_{21})^{-1} - (P^*_{11} + P^*_{21})^{-1}\big],T1​=21​[(P11∗​−P21∗​)−1+(P11∗​+P21∗​)−1],T2​=21​[(P11∗​−P21∗​)−1−(P11∗​+P21∗​)−1], Tn=12[(P11∗−P21∗)−1(P22∗−P12∗)+(P11∗+P21∗)−1(P22∗+P12∗)],T_n = \tfrac12\big[(P^*_{11} - P^*_{21})^{-1}(P^*_{22} - P^*_{12}) + (P^*_{11} + P^*_{21})^{-1}(P^*_{22} + P^*_{12})\big],Tn​=21​[(P11∗​−P21∗​)−1(P22∗​−P12∗​)+(P11∗​+P21∗​)−1(P22∗​+P12∗​)], Rf=12[(P11∗−P21∗)−1(P22∗−P12∗)−(P11∗+P21∗)−1(P22∗+P12∗)].R_f = \tfrac12\big[(P^*_{11} - P^*_{21})^{-1}(P^*_{22} - P^*_{12}) - (P^*_{11} + P^*_{21})^{-1}(P^*_{22} + P^*_{12})\big].Rf​=21​[(P11∗​−P21∗​)−1(P22∗​−P12∗​)−(P11∗​+P21∗​)−1(P22∗​+P12∗​)].

Conclusion. The theorem asserts that all four of the following equalities hold simultaneously:

R=(−P21∗P11∗−P11∗P21∗)−1(−P12∗P22∗−P22∗P12∗).R = \begin{pmatrix} -P^*_{21} & P^*_{11} \\ -P^*_{11} & P^*_{21} \end{pmatrix}^{-1} \begin{pmatrix} -P^*_{12} & P^*_{22} \\ -P^*_{22} & P^*_{12} \end{pmatrix}.R=(−P21∗​−P11∗​​P11∗​P21∗​​)−1(−P12∗​−P22∗​​P22∗​P12∗​​).
(P11∗−P21∗−P21∗P11∗)−1=(T1T2T2T1).\begin{pmatrix} P^*_{11} & -P^*_{21} \\ -P^*_{21} & P^*_{11} \end{pmatrix}^{-1} = \begin{pmatrix} T_1 & T_2 \\ T_2 & T_1 \end{pmatrix}.(P11∗​−P21∗​​−P21∗​P11∗​​)−1=(T1​T2​​T2​T1​​).
R=(T1T2T2T1)(P22∗−P12∗−P12∗P22∗).R = \begin{pmatrix} T_1 & T_2 \\ T_2 & T_1 \end{pmatrix} \begin{pmatrix} P^*_{22} & -P^*_{12} \\ -P^*_{12} & P^*_{22} \end{pmatrix}.R=(T1​T2​​T2​T1​​)(P22∗​−P12∗​​−P12∗​P22∗​​).
R=(TnRfRfTn).R = \begin{pmatrix} T_n & R_f \\ R_f & T_n \end{pmatrix}.R=(Tn​Rf​​Rf​Tn​​).

In the last equality, the two diagonal blocks of RRR are both equal to TnT_nTn​, and the two off-diagonal blocks are both equal to RfR_fRf​.

Human review
  • Endorsed by Shuze Chen · Nov 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me