Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fringe null phase curves, closure phases and image/aperture areas of a closed interferometer polygon

Definition
Arxiv2012_05254_Basic

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

closure-phasegauge-invarianceinterferometryplane-geometry

Objects of Sections 2-3 and Appendices 1-2 of Thyagarajan and Carilli (2021).

  1. Planes. In the flat-sky approximation with a coplanar aperture (wab=0w_{ab}=0wab​=0), the image plane, with direction cosines s^=(ℓ,m)\hat s=(\ell,m)s^=(ℓ,m), and the aperture plane, with coordinates in wavelengths, are both the Euclidean plane R2\mathbb R^2R2. The cross product of v,wv,wv,w is v0w1−v1w0v_0w_1-v_1w_0v0​w1​−v1​w0​.
  2. Spacings. For elements at positions x0,…,xn−1x_0,\dots,x_{n-1}x0​,…,xn−1​ (in wavelengths) forming an nnn-polygon in cyclic order, the spacing of side aaa is ua⌈a+1⌋n=x⌈a+1⌋n−xau_{a\lceil a+1\rfloor_n}=x_{\lceil a+1\rfloor_n}-x_aua⌈a+1⌋n​​=x⌈a+1⌋n​​−xa​, with indices taken mod nnn.
  3. Fringe null phase curves (eq. 7). The NPC of a fringe with spacing uuu and phase offset ψ=ϕ+2πn\psi=\phi+2\pi nψ=ϕ+2πn is the line {s^: 2π u⋅s^+ψ=0}\{\hat s:\ 2\pi\,u\cdot\hat s+\psi=0\}{s^: 2πu⋅s^+ψ=0}. Its signed perpendicular offset from the phase centre is δs=ψ/(2π∣u∣)\delta s=\psi/(2\pi|u|)δs=ψ/(2π∣u∣) (eq. 8).
  4. Closure phase (eqs. 10, 11, 14). The closure phase of an nnn-polygon with side phase offsets ψa⌈a+1⌋n\psi_{a\lceil a+1\rfloor_n}ψa⌈a+1⌋n​​ is ψn=∑aψa⌈a+1⌋n\psi_n=\sum_a\psi_{a\lceil a+1\rfloor_n}ψn​=∑a​ψa⌈a+1⌋n​​.
  5. Change of phase centre (eqs. 15-16). Measured from a phase centre s^0\hat s_0s^0​, the NPC 2πu⋅s^+ψ=02\pi u\cdot\hat s+\psi=02πu⋅s^+ψ=0 has phase offset ψ′=ψ+2π u⋅s^0\psi'=\psi+2\pi\,u\cdot\hat s_0ψ′=ψ+2πu⋅s^0​.
  6. Element-based corruption (eq. 5). Element phases ξa=arg⁡Ga\xi_a=\arg G_aξa​=argGa​ change the side phases to ψ~a⌈a+1⌋=ψa⌈a+1⌋+ξ⌈a+1⌋−ξa\tilde\psi_{a\lceil a+1\rfloor}=\psi_{a\lceil a+1\rfloor}+\xi_{\lceil a+1\rfloor}-\xi_aψ~​a⌈a+1⌋​=ψa⌈a+1⌋​+ξ⌈a+1⌋​−ξa​. These are real numbers, as eq. (5) is written. The corrupted visibilities are V~ab=Ga∗GbVab\tilde V_{ab}=G_a^*G_bV_{ab}V~ab​=Ga∗​Gb​Vab​ (eqs. 3-4).
  7. Loops and elemental triads (Appendix 2). Phase offsets ψij\psi_{ij}ψij​ given for every ordered pair of elements are read along a closed loop v0→v1→⋯→v0v_0\to v_1\to\cdots\to v_0v0​→v1​→⋯→v0​. For an NNN-polygon with N=M+2N=M+2N=M+2, the qqq-th elemental triad (q=0,…,M−1q=0,\dots,M-1q=0,…,M−1; the paper writes q=1,…,N−2q=1,\dots,N-2q=1,…,N−2) consists of the elements 0,q+1,q+20,q+1,q+20,q+1,q+2 in this order. All triads share the vertex 000.
  8. Translated NPC patterns. The NPC pattern with phases ψ′\psi'ψ′ is the translate by ttt of the pattern with phases ψ\psiψ if every NPC of ψ′\psi'ψ′ is the translate by ttt of the NPC of ψ\psiψ on the same side.
  9. Areas (eqs. 19, 28). The NPC vertices are the points lying on the NPCs of two consecutive sides. For a triad these are the vertices of the triangle enclosed by the three NPCs (the principal triangle when the ψ\psiψ are the principal phases). AInA_{\mathcal I n}AIn​ is the Lebesgue area of the convex hull of the NPC vertices. AAnA_{\mathcal A n}AAn​ is the Lebesgue area of the convex hull of the element positions, which is the triangle for n=3n=3n=3 and the polygon itself for a convex polygon. A polygon is strictly convex in its cyclic order if, for every side, all other elements lie strictly on one fixed side of its line.
  10. Fringes and three-fringe images (eq. 6, Sec. 4.1). The fringe of a baseline with spacing uuu and visibility VVV is F(s^)=Vei2πu⋅s^F(\hat s)=V e^{i2\pi u\cdot\hat s}F(s^)=Vei2πu⋅s^. The three-fringe image of a closed triad is ∑a2 Re Fa⌈a+1⌋(s^)\sum_a 2\,\mathrm{Re}\,F_{a\lceil a+1\rfloor}(\hat s)∑a​2ReFa⌈a+1⌋​(s^), the sum of the three fringes and of their conjugate baselines, i.e. the dirty image of the three visibilities.

Formalization Note Areas are Lebesgue measures of convex hulls in R2\mathbb R^2R2, so they are unsigned. The paper does not say whether its areas are signed. The NPC phases are real numbers carrying the 2πnab2\pi n_{ab}2πnab​ of eq. (7). Element corruption acts on them as in eq. (5), without reduction modulo 2π2\pi2π.

Definition code
import Mathlib

/-!
Thyagarajan and Carilli, *A Geometric View of Closure Phases in Interferometry*,
arXiv:2012.05254v3, Publ. Astron. Soc. Aust. 38 (2021): the flat-sky image and aperture planes,
element spacings, fringe null phase curves (NPCs), closure phases, element-based corruptions,
three-fringe interference images, and the aperture- and image-plane areas of Section 2
(eqs. (1)-(14)), Section 3 (eqs. (15)-(19)), Section 4.1 (eq. (20)) and Appendices 1-2
(eqs. (21)-(28)).
-/

open MeasureTheory
open scoped RealInnerProductSpace

noncomputable section

namespace Arxiv2012_05254

/-- Section 2 (flat-sky approximation, coplanar aperture `w_ab = 0`): both the image plane, with
direction-cosine coordinates `(ℓ, m)`, and the aperture plane, with coordinates `(u, v)` in
wavelengths, are the Euclidean plane `ℝ²`. -/
abbrev Plane := EuclideanSpace ℝ (Fin 2)

/-- The planar cross product `v₀ w₁ - v₁ w₀` (twice the signed area of the triangle spanned by
`v` and `w`); used to state convexity of an aperture polygon (Appendix 2). -/
def cross (v w : Plane) : ℝ := v 0 * w 1 - v 1 * w 0

/-- Section 2.2, before eq. (9): for elements at positions `x a` (in wavelengths) forming an
`n`-polygon in cyclic order, the spacing of side `a` is `u_{a⌈a+1⌋_n} = x_{⌈a+1⌋_n} - x_a`
(indices mod `n`). -/
def spacing {n : ℕ} [NeZero n] (x : Fin n → Plane) (a : Fin n) : Plane := x (a + 1) - x a

/-- Eq. (7): the fringe null phase curve (NPC) of a fringe with spacing `u` and phase offset
`ψ = φ + 2πn`: the line `{ŝ : 2π u·ŝ + ψ = 0}` of the image plane. -/
def npc (u : Plane) (ψ : ℝ) : Set Plane := {s | 2 * Real.pi * ⟪u, s⟫ + ψ = 0}

/-- Eq. (8): the signed perpendicular offset `δs = ψ / (2π |u|)` of the NPC with phase offset `ψ`
from the phase centre. -/
def perpOffset (u : Plane) (ψ : ℝ) : ℝ := ψ / (2 * Real.pi * ‖u‖)

/-- Eqs. (10)-(11) and (14): the closure phase of an `n`-polygon, the sum of the phase offsets
`ψ_{a⌈a+1⌋_n}` of its `n` fringes. -/
def closurePhase {n : ℕ} (ψ : Fin n → ℝ) : ℝ := ∑ a, ψ a

/-- Eqs. (15)-(16): the phase offset `ψ' = ψ + 2π u·ŝ₀` of the NPC `2π u·ŝ + ψ = 0` measured
from the phase centre `ŝ₀`, i.e. its phase in the coordinates `ŝ' = ŝ - ŝ₀`. -/
def recentredPhase (u : Plane) (ψ : ℝ) (s₀ : Plane) : ℝ := ψ + 2 * Real.pi * ⟪u, s₀⟫

/-- Eq. (5): phase offsets of the sides of an `n`-polygon after the element-based phase
corruption `ξ_a = arg G_a`: `ψ̃_{a⌈a+1⌋} = ψ_{a⌈a+1⌋} + ξ_{⌈a+1⌋} - ξ_a` (real phases, as
written in eq. (5)). -/
def elementCorrupt {n : ℕ} [NeZero n] (ξ ψ : Fin n → ℝ) : Fin n → ℝ :=
  fun a => ψ a + ξ (a + 1) - ξ a

/-- The phase offsets of the closed loop `v 0 → v 1 → ⋯ → v (n-1) → v 0` of array elements, read
off from phase offsets `ψ i j` given for every ordered pair of elements (Appendix 2). -/
def loopPhase {N n : ℕ} [NeZero n] (ψ : Fin N → Fin N → ℝ) (v : Fin n → Fin N) : Fin n → ℝ :=
  fun a => ψ (v a) (v (a + 1))

/-- Appendix 2, Fig. 10: the `q`-th elemental triad (`q = 1, …, N-2` in the paper, here
`q = 0, …, M-1` with `N = M + 2`) of the fan decomposition of an `N`-polygon with common vertex
`0`: the elements `0, q+1, q+2` in this cyclic order. -/
def fanTriad {M : ℕ} (q : Fin M) : Fin 3 → Fin (M + 2) := ![0, q.castSucc.succ, q.succ.succ]

/-- Section 3: the NPC pattern of the `n`-polygon with element positions `x` and phase offsets
`ψ'` is the translate by `t` of the pattern with phase offsets `ψ`: every NPC of `ψ'` is the
translate by `t` of the corresponding NPC of `ψ`. -/
def npcTranslate {n : ℕ} [NeZero n] (x : Fin n → Plane) (ψ ψ' : Fin n → ℝ) (t : Plane) : Prop :=
  ∀ a, npc (spacing x a) (ψ' a) = (fun s => s + t) '' npc (spacing x a) (ψ a)

/-- Section 3, eq. (13): the vertices of the polygon enclosed by the NPCs of the sides of an
`n`-polygon: the points lying on the NPCs of two consecutive sides. For `n = 3` these are the
three vertices of the (principal, when the `ψ` are principal phases) triangle. -/
def npcVertices {n : ℕ} [NeZero n] (x : Fin n → Plane) (ψ : Fin n → ℝ) : Set Plane :=
  {s | ∃ a : Fin n, s ∈ npc (spacing x a) (ψ a) ∧ s ∈ npc (spacing x (a + 1)) (ψ (a + 1))}

/-- Eq. (19): `A_{I n}`, the (dimensionless, direction-cosine) area enclosed by the NPCs in the
image plane, as the Lebesgue area of the convex hull of the NPC vertices. -/
def imageArea {n : ℕ} [NeZero n] (x : Fin n → Plane) (ψ : Fin n → ℝ) : ℝ :=
  (volume (convexHull ℝ (npcVertices x ψ))).toReal

/-- Eq. (19) and eq. (28): `A_{A n}`, the area (in wavelengths squared) enclosed by the element
positions in the aperture plane, as the Lebesgue area of their convex hull (the triangle for
`n = 3`; the polygon itself for a convex polygon). -/
def apertureArea {n : ℕ} (x : Fin n → Plane) : ℝ :=
  (volume (convexHull ℝ (Set.range x))).toReal

/-- The element positions `x 0, …, x (n-1)` form a strictly convex polygon in this cyclic order:
every other element lies strictly on one fixed side of each side's line. -/
def IsConvexPolygon {n : ℕ} [NeZero n] (x : Fin n → Plane) : Prop :=
  (∀ a b : Fin n, b ≠ a → b ≠ a + 1 → 0 < cross (x (a + 1) - x a) (x b - x a)) ∨
    (∀ a b : Fin n, b ≠ a → b ≠ a + 1 → cross (x (a + 1) - x a) (x b - x a) < 0)

/-- Eq. (6): the fringe `F_ab(ŝ) = |V_ab| e^{i(2π u_ab·ŝ + arg V_ab)} = V_ab e^{i 2π u_ab·ŝ}` of a
baseline with spacing `u` and (possibly corrupted) visibility `V`. -/
def fringe (u : Plane) (V : ℂ) (s : Plane) : ℂ :=
  V * Complex.exp (2 * Real.pi * Complex.I * (⟪u, s⟫ : ℂ))

/-- Eqs. (3)-(4): the corrupted visibility `Ṽ_ab = G_a^* G_b V_ab` for element gains `G`. -/
def corruptVis {N : ℕ} (G : Fin N → ℂ) (V : Fin N → Fin N → ℂ) (a b : Fin N) : ℂ :=
  (starRingEnd ℂ) (G a) * G b * V a b

/-- Section 3 and Section 4.1: the three-fringe interference image of the closed triad of
elements `v 0, v 1, v 2` (positions `x`, visibilities `V`): the sum of the fringes of the three
sides and of their conjugate baselines (`F_ba = F_ab^*`), i.e. `∑_a 2 Re F_{a⌈a+1⌋}(ŝ)` — the
dirty image of the three visibilities. -/
def triadImage {N : ℕ} (x : Fin N → Plane) (V : Fin N → Fin N → ℂ) (v : Fin 3 → Fin N)
    (s : Plane) : ℝ :=
  ∑ a : Fin 3, 2 * (fringe (x (v (a + 1)) - x (v a)) (V (v a) (v (a + 1))) s).re

end Arxiv2012_05254
Source
Thyagarajan and Carilli, A Geometric View of Closure Phases in Interferometry, arXiv:2012.05254v3, Publ. Astron. Soc. Aust. 38 (2021), Sections 2-3 (eqs. (1)-(19)), Section 4.1 (eq. (20)), Appendices 1-2 (eqs. (21)-(28))
Read-back

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

Plane. Throughout, the "plane" is the Euclidean plane R2\mathbb{R}^2R2 with its standard inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩, Euclidean norm ∥⋅∥\|\cdot\|∥⋅∥ and Lebesgue measure. A point ppp has coordinates (p0,p1)(p_0, p_1)(p0​,p1​). The same space serves both as the image plane and as the aperture plane; nothing in the code distinguishes the two or attaches units.

Planar cross product. For v,w∈R2v, w \in \mathbb{R}^2v,w∈R2,

cross⁡(v,w)=v0w1−v1w0.\operatorname{cross}(v,w) = v_0 w_1 - v_1 w_0 .cross(v,w)=v0​w1​−v1​w0​.

This is a real number with no further conditions.

Spacing. Fix n≥1n \ge 1n≥1; the code requires n≠0n \neq 0n=0. Take points x0,…,xn−1∈R2x_0,\dots,x_{n-1} \in \mathbb{R}^2x0​,…,xn−1​∈R2 and an index a∈{0,…,n−1}a \in \{0,\dots,n-1\}a∈{0,…,n−1}. Then

ua=xa+1−xa,u_a = x_{a+1} - x_a ,ua​=xa+1​−xa​,

where a+1a+1a+1 is computed modulo nnn, so un−1=x0−xn−1u_{n-1} = x_0 - x_{n-1}un−1​=x0​−xn−1​. Degenerate cases:

  • For n=1n=1n=1, a+1=aa+1 = aa+1=a, so the spacing is always 000.
  • For n=2n=2n=2, the two spacings are x1−x0x_1 - x_0x1​−x0​ and x0−x1x_0 - x_1x0​−x1​.
  • The points need not be distinct, so a spacing may be 000.

Null phase curve (NPC). For u∈R2u \in \mathbb{R}^2u∈R2 and ψ∈R\psi \in \mathbb{R}ψ∈R,

NPC⁡(u,ψ)={ s∈R2:2π⟨u,s⟩+ψ=0 }.\operatorname{NPC}(u,\psi) = \{\, s \in \mathbb{R}^2 : 2\pi\langle u, s\rangle + \psi = 0 \,\}.NPC(u,ψ)={s∈R2:2π⟨u,s⟩+ψ=0}.

When u≠0u \neq 0u=0 this is a straight line perpendicular to uuu. When u=0u = 0u=0 it is the whole plane if ψ=0\psi = 0ψ=0, and empty if ψ≠0\psi \neq 0ψ=0.

Perpendicular offset. For u∈R2u \in \mathbb{R}^2u∈R2 and ψ∈R\psi \in \mathbb{R}ψ∈R,

δs(u,ψ)=ψ2π∥u∥.\delta s(u,\psi) = \frac{\psi}{2\pi\|u\|}.δs(u,ψ)=2π∥u∥ψ​.

Division by zero is defined to give 000, so δs(0,ψ)=0\delta s(0,\psi) = 0δs(0,ψ)=0 for every ψ\psiψ. The definition itself asserts no geometric relation to NPC⁡(u,ψ)\operatorname{NPC}(u,\psi)NPC(u,ψ). Its sign is the sign of ψ\psiψ; for u≠0u \neq 0u=0, the point −δs u/∥u∥-\delta s\, u/\|u\|−δsu/∥u∥ lies on the NPC.

Closure phase. For any n≥0n \ge 0n≥0 and reals ψ0,…,ψn−1\psi_0,\dots,\psi_{n-1}ψ0​,…,ψn−1​,

Ψ=∑a=0n−1ψa.\Psi = \sum_{a=0}^{n-1} \psi_a .Ψ=a=0∑n−1​ψa​.

This is a plain real sum with no reduction modulo 2π2\pi2π. For n=0n = 0n=0 it equals 000. The definition makes no reference to any polygon or positions.

Recentred phase. For u,s0∈R2u, s_0 \in \mathbb{R}^2u,s0​∈R2 and ψ∈R\psi \in \mathbb{R}ψ∈R,

ψ′=ψ+2π⟨u,s0⟩,\psi' = \psi + 2\pi\langle u, s_0\rangle ,ψ′=ψ+2π⟨u,s0​⟩,

with no reduction modulo 2π2\pi2π.

Element-based corruption. Fix n≥1n \ge 1n≥1 and real families ξ0,…,ξn−1\xi_0,\dots,\xi_{n-1}ξ0​,…,ξn−1​ (element phases) and ψ0,…,ψn−1\psi_0,\dots,\psi_{n-1}ψ0​,…,ψn−1​ (side phases). The result is the family

ψ~a=ψa+ξa+1−ξa(a=0,…,n−1),\tilde\psi_a = \psi_a + \xi_{a+1} - \xi_a \quad (a = 0,\dots,n-1),ψ~​a​=ψa​+ξa+1​−ξa​(a=0,…,n−1),

with a+1a+1a+1 taken modulo nnn. These are real numbers with no wrapping modulo 2π2\pi2π. For n=1n=1n=1, ψ~0=ψ0\tilde\psi_0 = \psi_0ψ~​0​=ψ0​.

Loop phases. Take N≥0N \ge 0N≥0, n≥1n \ge 1n≥1, a real array ψi,j\psi_{i,j}ψi,j​ indexed by ordered pairs i,j∈{0,…,N−1}i,j \in \{0,\dots,N-1\}i,j∈{0,…,N−1}, and a map v:{0,…,n−1}→{0,…,N−1}v:\{0,\dots,n-1\}\to\{0,\dots,N-1\}v:{0,…,n−1}→{0,…,N−1}. The result is the family

a↦ψva, va+1(a+1 mod n).a \mapsto \psi_{v_a,\, v_{a+1}} \quad (a+1 \text{ mod } n).a↦ψva​,va+1​​(a+1 mod n).

Nothing is assumed about ψ\psiψ: no antisymmetry ψj,i=−ψi,j\psi_{j,i} = -\psi_{i,j}ψj,i​=−ψi,j​ and no value on the diagonal. Nothing is assumed about vvv either: it need not be injective, so the "loop" may repeat elements or be a single repeated element.

Fan triad. For M≥0M \ge 0M≥0 and q∈{0,…,M−1}q \in \{0,\dots,M-1\}q∈{0,…,M−1}, the fan triad is the map {0,1,2}→{0,…,M+1}\{0,1,2\} \to \{0,\dots,M+1\}{0,1,2}→{0,…,M+1} given by

0↦0,1↦q+1,2↦q+2.0 \mapsto 0,\qquad 1 \mapsto q+1,\qquad 2 \mapsto q+2 .0↦0,1↦q+1,2↦q+2.

For M=0M = 0M=0 there are no triads. The three image indices are always distinct.

NPC translation. Fix n≥1n \ge 1n≥1, positions x0,…,xn−1x_0,\dots,x_{n-1}x0​,…,xn−1​, two real families ψ,ψ′\psi, \psi'ψ,ψ′ and a vector t∈R2t \in \mathbb{R}^2t∈R2. The proposition NPCTranslate⁡(x,ψ,ψ′,t)\operatorname{NPCTranslate}(x,\psi,\psi',t)NPCTranslate(x,ψ,ψ′,t) states that for every a∈{0,…,n−1}a \in \{0,\dots,n-1\}a∈{0,…,n−1}:

NPC⁡(ua,ψa′)={ s+t:s∈NPC⁡(ua,ψa) },\operatorname{NPC}(u_a, \psi'_a) = \{\, s + t : s \in \operatorname{NPC}(u_a, \psi_a) \,\},NPC(ua​,ψa′​)={s+t:s∈NPC(ua​,ψa​)},

where ua=xa+1−xau_a = x_{a+1}-x_aua​=xa+1​−xa​ is the spacing defined above. When some ua=0u_a = 0ua​=0, the condition for that side reduces to comparing whole-plane and empty sets. For example, it holds whenever ψa\psi_aψa​ and ψa′\psi'_aψa′​ are both nonzero.

NPC vertices. Fix n≥1n \ge 1n≥1, positions xxx and real phases ψ\psiψ, with spacings uau_aua​ as above. Define

V(x,ψ)={ s∈R2:∃a, s∈NPC⁡(ua,ψa)∩NPC⁡(ua+1,ψa+1) },V(x,\psi) = \{\, s \in \mathbb{R}^2 : \exists a,\ s \in \operatorname{NPC}(u_a,\psi_a) \cap \operatorname{NPC}(u_{a+1},\psi_{a+1}) \,\},V(x,ψ)={s∈R2:∃a, s∈NPC(ua​,ψa​)∩NPC(ua+1​,ψa+1​)},

with a+1a+1a+1 modulo nnn. This is the union over consecutive side pairs of the intersections of their NPCs. It need not be a finite set:

  • For n=1n=1n=1 it is the single NPC NPC⁡(0,ψ0)\operatorname{NPC}(0,\psi_0)NPC(0,ψ0​), which is the whole plane or empty.
  • If two consecutive NPCs coincide, the union contains that entire line.
  • If a spacing is 000 with phase 000, the union contains the full other NPC.
  • If consecutive spacings are parallel with distinct lines, that pair contributes nothing.

Image-plane area. Fix n≥1n \ge 1n≥1, positions xxx and phases ψ\psiψ. Then

AI(x,ψ)=λ(conv⁡V(x,ψ)),A_I(x,\psi) = \lambda\big(\operatorname{conv} V(x,\psi)\big),AI​(x,ψ)=λ(convV(x,ψ)),

the Lebesgue measure of the convex hull of the vertex set above, converted to a real number. An infinite measure is converted to 000. So AI=0A_I = 0AI​=0 in all of the following cases:

  • the hull is empty;
  • the hull lies in a line;
  • the hull is unbounded with infinite area, for example the whole plane, a half-plane or a strip.

Aperture-plane area. For any n≥0n \ge 0n≥0 and positions x0,…,xn−1x_0,\dots,x_{n-1}x0​,…,xn−1​,

AA(x)=λ(conv⁡{x0,…,xn−1}),A_A(x) = \lambda\big(\operatorname{conv}\{x_0,\dots,x_{n-1}\}\big),AA​(x)=λ(conv{x0​,…,xn−1​}),

the Lebesgue area of the convex hull of the set of positions, as a real number. It is always finite. It is 000 for n=0n = 0n=0 and whenever the points are collinear. It ignores the cyclic order and any repetitions.

Convex polygon. Fix n≥1n \ge 1n≥1 and positions xxx. Then IsConvexPolygon⁡(x)\operatorname{IsConvexPolygon}(x)IsConvexPolygon(x) holds if and only if one of two conditions holds:

  • for all indices a,ba, ba,b with b≠ab \neq ab=a and b≠a+1b \neq a+1b=a+1 (modulo nnn), cross⁡(xa+1−xa, xb−xa)>0\operatorname{cross}(x_{a+1}-x_a,\ x_b - x_a) > 0cross(xa+1​−xa​, xb​−xa​)>0; or
  • for all such a,ba, ba,b, that cross product is <0< 0<0.

This means every non-endpoint element lies strictly on the same fixed side of every side's line. For n=1n = 1n=1 and n=2n = 2n=2 no pair (a,b)(a,b)(a,b) satisfies the index conditions, so the property holds vacuously for any positions, including coincident ones. For n=3n = 3n=3 it says exactly that the three points are not collinear.

Fringe. For a spacing u∈R2u \in \mathbb{R}^2u∈R2, a complex visibility VVV and an image point s∈R2s \in \mathbb{R}^2s∈R2,

F(u,V,s)=V e2πi⟨u,s⟩∈C.F(u,V,s) = V\, e^{2\pi i \langle u, s\rangle} \in \mathbb{C}.F(u,V,s)=Ve2πi⟨u,s⟩∈C.

No condition is placed on VVV; it may be 000.

Corrupted visibility. For N≥0N \ge 0N≥0, complex gains G0,…,GN−1G_0,\dots,G_{N-1}G0​,…,GN−1​, a complex array Va,bV_{a,b}Va,b​ and indices a,ba, ba,b,

V~a,b=Ga‾ Gb Va,b.\tilde V_{a,b} = \overline{G_a}\, G_b\, V_{a,b}.V~a,b​=Ga​​Gb​Va,b​.

Nothing is assumed about the gains (they may be zero) or about the visibilities (no Hermitian symmetry Vb,a=Va,b‾V_{b,a} = \overline{V_{a,b}}Vb,a​=Va,b​​).

Triad image. Take N≥0N \ge 0N≥0, positions x0,…,xN−1∈R2x_0,\dots,x_{N-1} \in \mathbb{R}^2x0​,…,xN−1​∈R2, a complex array Vi,jV_{i,j}Vi,j​, a map v:{0,1,2}→{0,…,N−1}v:\{0,1,2\}\to\{0,\dots,N-1\}v:{0,1,2}→{0,…,N−1} and an image point sss. Then

I(s)=∑a=022 Re⁡ F(xva+1−xva, Vva,va+1, s)=∑a=022 Re⁡ ⁣(Vva,va+1 e2πi⟨xva+1−xva, s⟩),I(s) = \sum_{a=0}^{2} 2\,\operatorname{Re}\, F\big(x_{v_{a+1}} - x_{v_a},\ V_{v_a, v_{a+1}},\ s\big) = \sum_{a=0}^{2} 2\,\operatorname{Re}\!\Big( V_{v_a,v_{a+1}}\, e^{2\pi i \langle x_{v_{a+1}} - x_{v_a},\, s\rangle}\Big),I(s)=a=0∑2​2ReF(xva+1​​−xva​​, Vva​,va+1​​, s)=a=0∑2​2Re(Vva​,va+1​​e2πi⟨xva+1​​−xva​​,s⟩),

with a+1a+1a+1 modulo 333. Only the three entries Vv0,v1V_{v_0,v_1}Vv0​,v1​​, Vv1,v2V_{v_1,v_2}Vv1​,v2​​, Vv2,v0V_{v_2,v_0}Vv2​,v0​​ are used; the reversed entries Vv1,v0V_{v_1,v_0}Vv1​,v0​​ etc. never enter. The map vvv need not be injective, so repeated elements give zero spacings and constant terms 2Re⁡V2\operatorname{Re} V2ReV.

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