Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Closed paths, circulation, winding number and enhancement factor of a vorticity filament

Definition
Arxiv1811_00800_Basic

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

aharonov-bohmcoherent-backscatteringline-integralpoisson-distributionwinding-number

Objects of Aubry and Roux (2019), pp. 3-4. The propagation plane is identified with C\mathbb{C}C, a point x+iyx+iyx+iy standing for (x,y)∈R2(x,y)\in\mathbb{R}^2(x,y)∈R2, and the vorticity filament sits at the origin.

  1. Closed paths. A closed path is a curve γ:[0,1]→C\gamma:[0,1]\to\mathbb{C}γ:[0,1]→C that is Lipschitz on [0,1][0,1][0,1] and satisfies γ(0)=γ(1)\gamma(0)=\gamma(1)γ(0)=γ(1). Lipschitz paths include the piecewise straight acoustic paths between scattering events.
  2. Circulation and dephasing (Eq. (2), first equality). For a planar velocity field vvv, the circulation along γ\gammaγ is ∮γv⋅dℓ=∫01v(γ(t))⋅γ′(t) dt\oint_\gamma v\cdot d\ell=\int_0^1 v(\gamma(t))\cdot\gamma'(t)\,dt∮γ​v⋅dℓ=∫01​v(γ(t))⋅γ′(t)dt, with the Euclidean dot product of R2\mathbb{R}^2R2. The dephasing between γ\gammaγ and its counter-propagating partner, for wavelength λ\lambdaλ and sound speed ccc, is Δφ=4πλc∮γv⋅dℓ\Delta\varphi=\frac{4\pi}{\lambda c}\oint_\gamma v\cdot d\ellΔφ=λc4π​∮γ​v⋅dℓ.
  3. Velocity profiles. Solid rotation: v=Ω r uθv=\Omega\,r\,u_\thetav=Ωruθ​, that is v(z)=Ω izv(z)=\Omega\,izv(z)=Ωiz. Vorticity filament of circulation Γ\GammaΓ: v=Γ2πruθv=\frac{\Gamma}{2\pi r}u_\thetav=2πrΓ​uθ​, that is v(z)=Γ iz2π∣z∣2v(z)=\frac{\Gamma\,iz}{2\pi|z|^2}v(z)=2π∣z∣2Γiz​ for z≠0z\neq0z=0.
  4. Vorticity. The vorticity of a planar field v=(vx,vy)v=(v_x,v_y)v=(vx​,vy​) is ∂xvy−∂yvx\partial_xv_y-\partial_yv_x∂x​vy​−∂y​vx​.
  5. Loops and enclosed area. The number of loops of a closed path γ\gammaγ around a point www not on it is the winding number n(γ,w)=12πi∫01γ′(t)γ(t)−w dtn(\gamma,w)=\frac{1}{2\pi i}\int_0^1\frac{\gamma'(t)}{\gamma(t)-w}\,dtn(γ,w)=2πi1​∫01​γ(t)−wγ′(t)​dt. The area enclosed by γ\gammaγ is A(γ)=∫R2n(γ,w) dwA(\gamma)=\int_{\mathbb{R}^2}n(\gamma,w)\,dwA(γ)=∫R2​n(γ,w)dw, which for a simple positively oriented path is the area of the region it bounds.
  6. Aharonov-Bohm parameter. α=Γ/(λc)\alpha=\Gamma/(\lambda c)α=Γ/(λc).
  7. Enhancement factor. For a probability measure PPP on an ensemble of closed paths, with dephasing Δφ(ω)\Delta\varphi(\omega)Δφ(ω) for path ω\omegaω, the enhancement factor is the mean normalized backscattered intensity E=EP[1+cos⁡Δφ]E=\mathbb{E}_P[1+\cos\Delta\varphi]E=EP​[1+cosΔφ].
  8. Loop-number law (Eq. (5)). pnp_npn​, n∈Nn\in\mathbb{N}n∈N, is the probability that a path of the ensemble winds nnn times around the filament, in either direction: pn=P{n(γω,0)=±n}p_n=P\{n(\gamma_\omega,0)=\pm n\}pn​=P{n(γω​,0)=±n}. For any sequence ppp, Ep(α)=∑n∈Npn[1+cos⁡(4πnα)]E_p(\alpha)=\sum_{n\in\mathbb{N}}p_n[1+\cos(4\pi n\alpha)]Ep​(α)=∑n∈N​pn​[1+cos(4πnα)].
  9. Poisson model (Eq. (6)). For a mean loop number β≥0\beta\ge0β≥0, Eβ(α)=1+Re⁡exp⁡[β(e4iπα−1)]E_\beta(\alpha)=1+\operatorname{Re}\exp[\beta(e^{4i\pi\alpha}-1)]Eβ​(α)=1+Reexp[β(e4iπα−1)].

Formalization Note The first equality of Eq. (2) is a physical model of the paper (the dephasing as a circulation); it is taken as the definition of Δφ\Delta\varphiΔφ. The value of the filament profile at the origin, where it is singular, is set to 000 and never used, since every statement requires the paths to avoid the origin.

Definition code
import Mathlib

/-!
G. J. Aubry and P. Roux, *Topological Effects of a Vorticity Filament on the Coherent
Backscattering Cone*, arXiv:1811.00800v2 (2019): closed acoustic paths in the 2D propagation
plane, the circulation of a flow along a path, the dephasing of counter-propagating paths
(Eq. (2)), the solid-rotation and vorticity-filament velocity profiles (pp. 3-4), the number of
loops of a path around the filament (Eq. (4)), the coherent backscattering enhancement factor and
its loop-number expansion (Eq. (5)), and the Poisson model (Eq. (6)).

The propagation plane is identified with `ℂ` (`x + i y`), and the vorticity filament sits at the
origin.
-/

open MeasureTheory Complex

noncomputable section

namespace Arxiv1811_00800

/-- A closed path of the geometrical (ray) picture, p. 3-4: a curve `γ : [0,1] → ℂ` in the
propagation plane which is Lipschitz on `[0,1]` (this covers the piecewise straight acoustic
paths between scattering events) and returns to its starting point, `γ 0 = γ 1`. -/
def IsClosedPath (γ : ℝ → ℂ) : Prop :=
  (∃ K : NNReal, LipschitzOnWith K γ (Set.Icc 0 1)) ∧ γ 0 = γ 1

/-- The circulation `∮ v · dℓ` of a planar velocity field `v` (a vector `v z ∈ ℂ ≅ ℝ²` at each
point) along the path `γ`, Eq. (2), p. 3: `∫₀¹ v(γ t) · γ'(t) dt` with the Euclidean dot
product of `ℝ²`. -/
def circulation (v : ℂ → ℂ) (γ : ℝ → ℂ) : ℝ :=
  ∫ t in (0 : ℝ)..1, ((v (γ t)).re * (deriv γ t).re + (v (γ t)).im * (deriv γ t).im)

/-- The dephasing between a closed path and its counter-propagating partner in a flow `v`,
first equality of Eq. (2), p. 3: `Δφ = (4π / (λ c)) ∮ v · dℓ`, with `λ` the wavelength and `c`
the sound speed. -/
def phaseDiff (lam c : ℝ) (v : ℂ → ℂ) (γ : ℝ → ℂ) : ℝ :=
  4 * Real.pi / (lam * c) * circulation v γ

/-- The solid-rotation velocity profile `v = Ω r u_θ`, p. 3 (before Eq. (2)). At `z = r e^{iθ}`
the unit azimuthal vector is `u_θ = i z / |z|`, so `v(z) = Ω i z`. -/
def solidRotationField (Om : ℝ) : ℂ → ℂ :=
  fun z => (Om : ℂ) * I * z

/-- The vorticity-filament velocity profile `v = Γ / (2π r) u_θ`, p. 4 (before Eq. (4)), with
`Γ` the circulation and the filament at the origin: `v(z) = Γ i z / (2π |z|²)`. (The value at
`z = 0`, where the profile is singular, is `0` and is never used.) -/
def vortexField (Gam : ℝ) : ℂ → ℂ :=
  fun z => ((Gam / (2 * Real.pi * ‖z‖ ^ 2) : ℝ) : ℂ) * I * z

/-- The vorticity (scalar curl) `∂v_y/∂x - ∂v_x/∂y` of a planar velocity field at `z`, the
quantity the paper calls "the vorticity field" after Eq. (2), p. 3. -/
def vorticity (v : ℂ → ℂ) (z : ℂ) : ℝ :=
  (fderiv ℝ v z 1).im - (fderiv ℝ v z I).re

/-- The number of loops of the closed path `γ` around the point `w`, Eq. (4), p. 4: the
winding number `(1 / 2πi) ∫₀¹ γ'(t) / (γ t - w) dt`. -/
def windingNumber (γ : ℝ → ℂ) (w : ℂ) : ℂ :=
  (((2 * Real.pi : ℝ) : ℂ) * I)⁻¹ * ∫ t in (0 : ℝ)..1, deriv γ t / (γ t - w)

/-- The (algebraic) area `A` enclosed by the closed path `γ`, Eq. (2), p. 3: the integral over
the plane of the number of loops of `γ` around each point. For a simple, positively oriented
closed path this is the area of the region it bounds. -/
def enclosedArea (γ : ℝ → ℂ) : ℝ :=
  ∫ w : ℂ, (windingNumber γ w).re

/-- The Aharonov-Bohm (vorticity) parameter `α = Γ / (λ c)`, p. 3 (after Fig. 2). -/
def abParam (Gam lam c : ℝ) : ℝ :=
  Gam / (lam * c)

/-- The enhancement factor `E` of the coherent backscattering cone, pp. 3-4 (before Eq. (5)):
the average over an ensemble `P` of closed paths of the normalized backscattered intensity
`1 + cos Δφ` of a path and its counter-propagating partner, with `dphi ω` the dephasing of
path `ω`. -/
def enhancementFactor {W : Type*} [MeasurableSpace W] (P : Measure W) (dphi : W → ℝ) : ℝ :=
  ∫ ω, (1 + Real.cos (dphi ω)) ∂P

/-- The probability distribution `p_n` of the number of loops `n ∈ ℕ` around the filament
(at the origin) of the closed paths of an ensemble `P`, Eq. (5), p. 4: the probability that the
path winds `n` times around the origin, in either direction. -/
def loopNumberLaw {W : Type*} [MeasurableSpace W] (P : Measure W) (γ : W → ℝ → ℂ) (n : ℕ) : ℝ :=
  P.real {ω | windingNumber (γ ω) 0 = (n : ℂ) ∨ windingNumber (γ ω) 0 = -(n : ℂ)}

/-- The right-hand side of Eq. (5), p. 4: `∑_{n ∈ ℕ} p_n [1 + cos(4π n α)]` for a loop-number
distribution `p`. -/
def loopEnhancement (p : ℕ → ℝ) (alpha : ℝ) : ℝ :=
  ∑' n : ℕ, p n * (1 + Real.cos (4 * Real.pi * n * alpha))

/-- The enhancement factor of the Poisson model, right-hand side of Eq. (6), p. 4:
`E(α) = 1 + Re exp[β (e^{4iπα} - 1)]`, with `β ≥ 0` the mean number of loops. -/
def poissonEnhancement (beta : NNReal) (alpha : ℝ) : ℝ :=
  1 + (Complex.exp (((beta : ℝ) : ℂ) * (Complex.exp (((4 * Real.pi * alpha : ℝ) : ℂ) * I) - 1))).re

end Arxiv1811_00800
Source
Aubry and Roux, Topological Effects of a Vorticity Filament on the Coherent Backscattering Cone, arXiv:1811.00800v2 (2019), main text pp. 3-4: Eqs. (2), (4), (5), (6) and the velocity profiles of solid rotation and of the vorticity filament
Read-back

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

Closed path (IsClosedPath). A function γ:R→C\gamma:\mathbb{R}\to\mathbb{C}γ:R→C, defined on the whole real line, is called a closed path if both of the following hold:

  1. There is a constant K≥0K\ge 0K≥0 such that ∣γ(s)−γ(t)∣≤K∣s−t∣|\gamma(s)-\gamma(t)|\le K|s-t|∣γ(s)−γ(t)∣≤K∣s−t∣ for all s,t∈[0,1]s,t\in[0,1]s,t∈[0,1]. In other words, γ\gammaγ is Lipschitz on [0,1][0,1][0,1].
  2. γ(0)=γ(1)\gamma(0)=\gamma(1)γ(0)=γ(1).

Nothing is required of γ\gammaγ outside [0,1][0,1][0,1]. No differentiability, injectivity, or orientation is required, and constant functions qualify.


Circulation (circulation). Take any function v:C→Cv:\mathbb{C}\to\mathbb{C}v:C→C, read as a planar vector field with components (Re⁡v,Im⁡v)(\operatorname{Re}v,\operatorname{Im}v)(Rev,Imv), and any γ:R→C\gamma:\mathbb{R}\to\mathbb{C}γ:R→C. Neither is required to be a closed path or to have any regularity. The circulation is the real number

C(v,γ)=∫01(Re⁡v(γ(t)) Re⁡γ′(t)+Im⁡v(γ(t)) Im⁡γ′(t)) dt.\mathcal{C}(v,\gamma)=\int_0^1\Big(\operatorname{Re}v(\gamma(t))\,\operatorname{Re}\gamma'(t)+\operatorname{Im}v(\gamma(t))\,\operatorname{Im}\gamma'(t)\Big)\,dt .C(v,γ)=∫01​(Rev(γ(t))Reγ′(t)+Imv(γ(t))Imγ′(t))dt.

The terms are understood as follows:

  • γ′(t)\gamma'(t)γ′(t) is the ordinary derivative of γ\gammaγ as a function of the real variable ttt.
  • Wherever γ\gammaγ is not differentiable, γ′(t)\gamma'(t)γ′(t) is taken to be 000.
  • If the integrand is not Lebesgue integrable on [0,1][0,1][0,1], the whole value is defined to be 000.

Dephasing (phaseDiff). Take any reals λ,c\lambda, cλ,c, any field vvv and any γ\gammaγ. The dephasing is

Δφ(λ,c,v,γ)=4πλc C(v,γ),\Delta\varphi(\lambda,c,v,\gamma)=\frac{4\pi}{\lambda c}\,\mathcal{C}(v,\gamma),Δφ(λ,c,v,γ)=λc4π​C(v,γ),

with C\mathcal{C}C the circulation above. No sign or nonzero condition is placed on λ\lambdaλ or ccc. If λc=0\lambda c=0λc=0, the fraction is taken to be 000, so Δφ=0\Delta\varphi=0Δφ=0.


Solid-rotation field (solidRotationField). For a real Ω\OmegaΩ, this is the map vΩ:C→Cv_\Omega:\mathbb{C}\to\mathbb{C}vΩ​:C→C given by

vΩ(z)=Ω i z.v_\Omega(z)=\Omega\, i\, z .vΩ​(z)=Ωiz.

In coordinates z=x+iyz=x+iyz=x+iy, this is the vector (−Ωy, Ωx)(-\Omega y,\ \Omega x)(−Ωy, Ωx).


Vortex field (vortexField). For a real Γ\GammaΓ, this is the map vΓ:C→Cv^{\Gamma}:\mathbb{C}\to\mathbb{C}vΓ:C→C given by

vΓ(z)=Γ2π∣z∣2 i z,v^{\Gamma}(z)=\frac{\Gamma}{2\pi|z|^2}\, i\, z ,vΓ(z)=2π∣z∣2Γ​iz,

where ∣z∣|z|∣z∣ is the complex modulus. In coordinates this is Γ2π(x2+y2)(−y,x)\dfrac{\Gamma}{2\pi(x^2+y^2)}(-y,x)2π(x2+y2)Γ​(−y,x). At z=0z=0z=0 the fraction has denominator 000 and is taken to be 000, so vΓ(0)=0v^{\Gamma}(0)=0vΓ(0)=0.


Vorticity (vorticity). Take any v:C→Cv:\mathbb{C}\to\mathbb{C}v:C→C and a point z∈Cz\in\mathbb{C}z∈C. Let Dv(z)Dv(z)Dv(z) be the real Fréchet derivative of vvv at zzz, treating C\mathbb{C}C as R2\mathbb{R}^2R2. The vorticity is the real number

ωv(z)=Im⁡(Dv(z)[1])−Re⁡(Dv(z)[i])=∂vy∂x(z)−∂vx∂y(z).\omega_v(z)=\operatorname{Im}\big(Dv(z)[1]\big)-\operatorname{Re}\big(Dv(z)[i]\big)=\frac{\partial v_y}{\partial x}(z)-\frac{\partial v_x}{\partial y}(z).ωv​(z)=Im(Dv(z)[1])−Re(Dv(z)[i])=∂x∂vy​​(z)−∂y∂vx​​(z).

If vvv is not real-differentiable at zzz, then Dv(z)Dv(z)Dv(z) is taken to be 000, and so ωv(z)=0\omega_v(z)=0ωv​(z)=0.


Winding number (windingNumber). Take any γ:R→C\gamma:\mathbb{R}\to\mathbb{C}γ:R→C (not required to be closed) and any point w∈Cw\in\mathbb{C}w∈C. The winding number is the complex number

N(γ,w)=12πi∫01γ′(t)γ(t)−w dt.N(\gamma,w)=\frac{1}{2\pi i}\int_0^1\frac{\gamma'(t)}{\gamma(t)-w}\,dt .N(γ,w)=2πi1​∫01​γ(t)−wγ′(t)​dt.

The terms are understood as follows:

  • γ′(t)\gamma'(t)γ′(t) is the real-variable derivative, taken as 000 where it does not exist.
  • At any ttt with γ(t)=w\gamma(t)=wγ(t)=w, the quotient is taken to be 000.
  • If the integrand is not integrable on [0,1][0,1][0,1], the integral is taken to be 000.

The value is not asserted to be an integer, or even real.


Enclosed area (enclosedArea). For any γ:R→C\gamma:\mathbb{R}\to\mathbb{C}γ:R→C, this is the real number

A(γ)=∫CRe⁡N(γ,w) dw,A(\gamma)=\int_{\mathbb{C}}\operatorname{Re}N(\gamma,w)\,dw ,A(γ)=∫C​ReN(γ,w)dw,

where:

  • the integral is taken against Lebesgue (area) measure on C≅R2\mathbb{C}\cong\mathbb{R}^2C≅R2;
  • NNN is the winding number above;
  • the value is defined to be 000 if w↦Re⁡N(γ,w)w\mapsto\operatorname{Re}N(\gamma,w)w↦ReN(γ,w) is not Lebesgue integrable over the plane.

Aharonov–Bohm parameter (abParam). For any reals Γ,λ,c\Gamma,\lambda,cΓ,λ,c, the parameter is

α=Γλc.\alpha=\frac{\Gamma}{\lambda c}.α=λcΓ​.

If λc=0\lambda c=0λc=0, then α=0\alpha=0α=0.


Enhancement factor (enhancementFactor). Take the following data:

  • an arbitrary set WWW equipped with a σ-algebra;
  • an arbitrary measure PPP on WWW, not required to be a probability measure or even finite;
  • an arbitrary function δ:W→R\delta:W\to\mathbb{R}δ:W→R.

The enhancement factor is

E(P,δ)=∫W(1+cos⁡δ(ω)) dP(ω).E(P,\delta)=\int_W\big(1+\cos\delta(\omega)\big)\,dP(\omega).E(P,δ)=∫W​(1+cosδ(ω))dP(ω).

It is defined to be 000 whenever this integrand is not PPP-integrable. That happens, for example, if δ\deltaδ is not suitably measurable, or if PPP is an infinite measure under which the nonnegative integrand has infinite integral.


Loop-number law (loopNumberLaw). Take the following data:

  • WWW and an arbitrary measure PPP as above;
  • a family of functions γω:R→C\gamma_\omega:\mathbb{R}\to\mathbb{C}γω​:R→C indexed by ω∈W\omega\in Wω∈W;
  • a natural number n∈{0,1,2,… }n\in\{0,1,2,\dots\}n∈{0,1,2,…}.

The loop-number law is

pn=P({ω∈W: N(γω,0)=n  or  N(γω,0)=−n}),p_n=P\big(\{\omega\in W:\ N(\gamma_\omega,0)=n\ \text{ or }\ N(\gamma_\omega,0)=-n\}\big),pn​=P({ω∈W: N(γω​,0)=n  or  N(γω​,0)=−n}),

converted from an extended nonnegative value to a real number. The details are:

  • N(γω,0)N(\gamma_\omega,0)N(γω​,0) is the winding number about the origin defined above.
  • The equality is exact equality of complex numbers, so the imaginary part must be 000.
  • For n=0n=0n=0 the condition is N(γω,0)=0N(\gamma_\omega,0)=0N(γω​,0)=0.
  • If the set is not measurable, PPP is applied as an outer measure.
  • If the measure of the set is +∞+\infty+∞, then pn=0p_n=0pn​=0.

The paths γω\gamma_\omegaγω​ are not required to be closed. Any ω\omegaω whose winding number is not an integer is counted in no pnp_npn​. Nothing forces ∑npn=1\sum_n p_n=1∑n​pn​=1.


Loop enhancement (loopEnhancement). For any sequence p:N→Rp:\mathbb{N}\to\mathbb{R}p:N→R (with N\mathbb{N}N including 000) and any real α\alphaα, the loop enhancement is

∑n=0∞pn(1+cos⁡(4πnα)).\sum_{n=0}^{\infty}p_n\big(1+\cos(4\pi n\alpha)\big).n=0∑∞​pn​(1+cos(4πnα)).

This sum is defined to be 000 if the series is not unconditionally (equivalently, absolutely) summable.


Poisson enhancement (poissonEnhancement). For a real β≥0\beta\ge 0β≥0 and any real α\alphaα, the Poisson enhancement is

EP(β,α)=1+Re⁡exp⁡ ⁣(β(e4πiα−1)).E_{\mathrm{P}}(\beta,\alpha)=1+\operatorname{Re}\exp\!\Big(\beta\big(e^{4\pi i\alpha}-1\big)\Big).EP​(β,α)=1+Reexp(β(e4πiα−1)).
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