Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (24): the closure phase of an NNN-polygon is the sum over its elemental triads

Proved
Arxiv2012_05254.polygon_closure_phase_fan_sum

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

closure-phasegauge-invarianceinterferometryplane-geometry

Let N≥3N\ge3N≥3 elements at positions x0,…,xN−1x_0,\dots,x_{N-1}x0​,…,xN−1​ form a closed NNN-polygon. Let ψab\psi_{ab}ψab​ be NPC phase offsets for all ordered pairs, with ψba=−ψab\psi_{ba}=-\psi_{ab}ψba​=−ψab​ (conjugate baselines). For q=1,…,N−2q=1,\dots,N-2q=1,…,N−2, let ψ3(q)\psi_{3(q)}ψ3(q)​ be the closure phase of the elemental triad (0,q,q+1)(0,q,q+1)(0,q,q+1). Then

ψN=∑a=0N−1ψa⌈a+1⌋N=∑q=1N−2ψ3(q).\psi_N=\sum_{a=0}^{N-1}\psi_{a\lceil a+1\rfloor_N}=\sum_{q=1}^{N-2}\psi_{3(q)}.ψN​=a=0∑N−1​ψa⌈a+1⌋N​​=q=1∑N−2​ψ3(q)​.

No non-collinearity is needed for this equality. If xN−1,x0,x1x_{N-1},x_0,x_1xN−1​,x0​,x1​ are not collinear, the NPCs of the two sides meeting at element 000 intersect. With any intersection point s^0\hat s_0s^0​ as phase centre, these two NPCs have phase offset 000, and (eq. 24)

ψN=∑a=0N−1ψa⌈a+1⌋N′,ψab′=ψab+2πuab⋅s^0.\psi_N=\sum_{a=0}^{N-1}\psi'_{a\lceil a+1\rfloor_N},\qquad \psi'_{ab}=\psi_{ab}+2\pi u_{ab}\cdot\hat s_0.ψN​=a=0∑N−1​ψa⌈a+1⌋N​′​,ψab′​=ψab​+2πuab​⋅s^0​.

Formalization Note The paper names the second fringe through s^0\hat s_0s^0​ "FN1F_{N1}FN1​". The fringe of the other side at element 000, FN−1,0F_{N-1,0}FN−1,0​, is used here; see the mission report. The triads are indexed from 000 in Lean.

Preamble
import Mathlib
import Definitions.Def_Arxiv2012_05254_Basic

open MeasureTheory ProbabilityTheory
open scoped RealInnerProductSpace
Formal statement
namespace Arxiv2012_05254

theorem polygon_closure_phase_fan_sum {M : ℕ} (hM : 1 ≤ M) (x : Fin (M + 2) → Plane)
    (ψ : Fin (M + 2) → Fin (M + 2) → ℝ) (hψ : ∀ a b, ψ b a = -ψ a b) :
    closurePhase (loopPhase ψ id) = ∑ q : Fin M, closurePhase (loopPhase ψ (fanTriad q)) ∧
    (AffineIndependent ℝ ![x (Fin.last (M + 1)), x 0, x 1] →
      (∃ s₀ : Plane, s₀ ∈ npc (spacing x (Fin.last (M + 1))) (ψ (Fin.last (M + 1)) 0) ∩
          npc (spacing x 0) (ψ 0 1)) ∧
      ∀ s₀ ∈ npc (spacing x (Fin.last (M + 1))) (ψ (Fin.last (M + 1)) 0) ∩ npc (spacing x 0) (ψ 0 1),
        recentredPhase (spacing x (Fin.last (M + 1))) (ψ (Fin.last (M + 1)) 0) s₀ = 0 ∧
        recentredPhase (spacing x 0) (ψ 0 1) s₀ = 0 ∧
        ∑ a, recentredPhase (spacing x a) (loopPhase ψ id a) s₀ = closurePhase (loopPhase ψ id)) := by sorry

end Arxiv2012_05254
Source
Thyagarajan and Carilli, A Geometric View of Closure Phases in Interferometry, arXiv:2012.05254v3, Publ. Astron. Soc. Aust. 38 (2021), claim c022; Appendix 2, eqs. (23)-(24) and Fig. 10, PDF p. 16
Read-back

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

Setting. Fix a natural number M≥1M \ge 1M≥1 and put N=M+2N = M+2N=M+2, so N≥3N \ge 3N≥3. Indices 0,1,…,N−10, 1, \dots, N-10,1,…,N−1 are taken modulo NNN, so N−1+1=0N-1+1 = 0N−1+1=0. The theorem has three inputs:

  • Positions. x0,…,xN−1x_0, \dots, x_{N-1}x0​,…,xN−1​ are arbitrary points of the Euclidean plane R2\mathbb{R}^2R2. No distinctness, convexity or other condition is imposed on them except where stated below.
  • Phases. ψij∈R\psi_{ij} \in \mathbb{R}ψij​∈R is given for every ordered pair (i,j)(i,j)(i,j) of indices.
  • Antisymmetry hypothesis. For all i,ji, ji,j,
ψji=−ψij.\psi_{ji} = -\psi_{ij}.ψji​=−ψij​.

In particular this forces ψii=0\psi_{ii} = 0ψii​=0.

Definitions used.

  • Spacing. The spacing of side aaa is ua=xa+1−xau_a = x_{a+1} - x_aua​=xa+1​−xa​, indices mod NNN. Thus uN−1=x0−xN−1u_{N-1} = x_0 - x_{N-1}uN−1​=x0​−xN−1​.
  • Null phase curve. For a vector uuu and a real number ψ\psiψ, the null phase curve is
NPC(u,ψ)={s∈R2:2π ⟨u,s⟩+ψ=0},\mathrm{NPC}(u,\psi) = \{ s \in \mathbb{R}^2 : 2\pi\, \langle u, s\rangle + \psi = 0 \},NPC(u,ψ)={s∈R2:2π⟨u,s⟩+ψ=0},

where ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ is the standard inner product. This set is a line if u≠0u \ne 0u=0. If u=0u = 0u=0, it is all of R2\mathbb{R}^2R2 when ψ=0\psi = 0ψ=0 and empty otherwise.

  • Recentred phase. For a point s0s_0s0​, the recentred phase is
ψ′(u,ψ,s0)=ψ+2π⟨u,s0⟩.\psi'(u,\psi,s_0) = \psi + 2\pi \langle u, s_0\rangle.ψ′(u,ψ,s0​)=ψ+2π⟨u,s0​⟩.
  • Closure phase. The closure phase of the NNN-gon 0→1→⋯→N−1→00 \to 1 \to \dots \to N-1 \to 00→1→⋯→N−1→0 is
C=∑a=0N−1ψa, a+1=ψ0,1+ψ1,2+⋯+ψN−2,N−1+ψN−1,0.C = \sum_{a=0}^{N-1} \psi_{a,\,a+1} = \psi_{0,1} + \psi_{1,2} + \dots + \psi_{N-2,N-1} + \psi_{N-1,0}.C=a=0∑N−1​ψa,a+1​=ψ0,1​+ψ1,2​+⋯+ψN−2,N−1​+ψN−1,0​.
  • Fan triads. For q=0,…,M−1q = 0, \dots, M-1q=0,…,M−1, the qqq-th fan triad is the cyclically ordered triple of indices (0, q+1, q+2)(0,\, q+1,\, q+2)(0,q+1,q+2). Its closure phase is
Cq=ψ0, q+1+ψq+1, q+2+ψq+2, 0.C_q = \psi_{0,\,q+1} + \psi_{q+1,\,q+2} + \psi_{q+2,\,0}.Cq​=ψ0,q+1​+ψq+1,q+2​+ψq+2,0​.

Assertion. Under these hypotheses, the theorem asserts the conjunction of two statements.

(1) Fan decomposition. The following identity holds:

C=∑q=0M−1Cq.C = \sum_{q=0}^{M-1} C_q.C=q=0∑M−1​Cq​.

This part involves only ψ\psiψ, not the positions xxx.

(2) Conditional statement. Suppose the three points xN−1,x0,x1x_{N-1}, x_0, x_1xN−1​,x0​,x1​ are affinely independent, that is, distinct and not collinear. Let

Llast=NPC(uN−1,ψN−1,0),L0=NPC(u0,ψ0,1),L_{\mathrm{last}} = \mathrm{NPC}(u_{N-1}, \psi_{N-1,0}), \qquad L_0 = \mathrm{NPC}(u_0, \psi_{0,1}),Llast​=NPC(uN−1​,ψN−1,0​),L0​=NPC(u0​,ψ0,1​),

with uN−1=x0−xN−1u_{N-1} = x_0 - x_{N-1}uN−1​=x0​−xN−1​ and u0=x1−x0u_0 = x_1 - x_0u0​=x1​−x0​. Then both of the following hold:

  • (a) Existence. There exists a point s0s_0s0​ in Llast∩L0L_{\mathrm{last}} \cap L_0Llast​∩L0​.
  • (b) Properties of every such point. For every s0∈Llast∩L0s_0 \in L_{\mathrm{last}} \cap L_0s0​∈Llast​∩L0​:
ψ′(uN−1,ψN−1,0,s0)=0,\psi'(u_{N-1}, \psi_{N-1,0}, s_0) = 0,ψ′(uN−1​,ψN−1,0​,s0​)=0, ψ′(u0,ψ0,1,s0)=0,\psi'(u_0, \psi_{0,1}, s_0) = 0,ψ′(u0​,ψ0,1​,s0​)=0, ∑a=0N−1ψ′(ua,ψa,a+1,s0)=C.\sum_{a=0}^{N-1} \psi'(u_a, \psi_{a,a+1}, s_0) = C.a=0∑N−1​ψ′(ua​,ψa,a+1​,s0​)=C.

Written out with the definitions, the last equation reads

∑a=0N−1(ψa,a+1+2π⟨xa+1−xa, s0⟩)=C.\sum_{a=0}^{N-1} \bigl(\psi_{a,a+1} + 2\pi\langle x_{a+1} - x_a,\, s_0\rangle\bigr) = C.a=0∑N−1​(ψa,a+1​+2π⟨xa+1​−xa​,s0​⟩)=C.

Remarks on what is and is not assumed.

  • Part (2) has no hypothesis on the positions other than non-collinearity of xN−1,x0,x1x_{N-1}, x_0, x_1xN−1​,x0​,x1​. The remaining points x2,…,xN−2x_2, \dots, x_{N-2}x2​,…,xN−2​ may coincide with each other or with these three.
  • No range restriction is placed on the ψij\psi_{ij}ψij​. They are arbitrary reals, not necessarily principal values in (−π,π](-\pi, \pi](−π,π].
  • In part (b), the two vanishing statements follow directly from the definition of NPC\mathrm{NPC}NPC applied to s0s_0s0​.
  • The smallest case is M=1M = 1M=1, N=3N = 3N=3. There the sum in (1) has a single term, the triad (0,1,2)(0,1,2)(0,1,2).
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