Appendix B, eqs. (B1)-(B9): a sufficient condition for a symmetric response matrix
ProvedArxiv1705_08274.symmetric_response_sufficient_conditionLet (blocks of order ) and suppose
Assume and are invertible. Let be the response matrix (B1) of the scheme . Then:
- (B3);
- with (B5)-(B7);
- (B8);
- is symmetric, with
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).
import Mathlib import Definitions.Def_Arxiv1705_08274_Basic open Matrix
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_08274Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a natural number (possibly ). Let be an index set of size , made of a direction index and a Stokes component. All matrices below are real square matrices of order . Each is indexed by two disjoint copies of , an "upper" copy and a "lower" copy. Each is viewed as a block matrix whose four blocks are real matrices.
Data. The theorem takes two such matrices, and , with no other restrictions on their entries. It writes the blocks of as
Hypotheses.
- is completely determined by : its blocks are those of reversed in both directions,
- .
- .
No other assumptions are made. In particular:
- need not come from a radiative-transfer model, a Padé approximant, or a Runge–Kutta step.
- When all matrices are empty, both determinants equal , and every claim holds trivially.
Inverse convention. Throughout, denotes the generalized inverse. It is the true inverse when and the zero matrix otherwise. The hypotheses explicitly assert invertibility only of the two matrices . Invertibility of the block matrices inverted below is not separately assumed.
Response matrix. Let be the response matrix built from the pair , defined as
where are the blocks of .
Auxiliary matrices. Define the following matrices:
Conclusion. The theorem asserts that all four of the following equalities hold simultaneously:
In the last equality, the two diagonal blocks of are both equal to , and the two off-diagonal blocks are both equal to .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.