Closed paths, circulation, winding number and enhancement factor of a vorticity filament
DefinitionArxiv1811_00800_BasicObjects of Aubry and Roux (2019), pp. 3-4. The propagation plane is identified with , a point standing for , and the vorticity filament sits at the origin.
- Closed paths. A closed path is a curve that is Lipschitz on and satisfies . Lipschitz paths include the piecewise straight acoustic paths between scattering events.
- Circulation and dephasing (Eq. (2), first equality). For a planar velocity field , the circulation along is , with the Euclidean dot product of . The dephasing between and its counter-propagating partner, for wavelength and sound speed , is .
- Velocity profiles. Solid rotation: , that is . Vorticity filament of circulation : , that is for .
- Vorticity. The vorticity of a planar field is .
- Loops and enclosed area. The number of loops of a closed path around a point not on it is the winding number . The area enclosed by is , which for a simple positively oriented path is the area of the region it bounds.
- Aharonov-Bohm parameter. .
- Enhancement factor. For a probability measure on an ensemble of closed paths, with dephasing for path , the enhancement factor is the mean normalized backscattered intensity .
- Loop-number law (Eq. (5)). , , is the probability that a path of the ensemble winds times around the filament, in either direction: . For any sequence , .
- Poisson model (Eq. (6)). For a mean loop number , .
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 . The value of the filament profile at the origin, where it is singular, is set to and never used, since every statement requires the paths to avoid the origin.
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Closed path (IsClosedPath). A function , defined on the whole real line, is called a closed path if both of the following hold:
- There is a constant such that for all . In other words, is Lipschitz on .
- .
Nothing is required of outside . No differentiability, injectivity, or orientation is required, and constant functions qualify.
Circulation (circulation). Take any function , read as a planar vector field with components , and any . Neither is required to be a closed path or to have any regularity. The circulation is the real number
The terms are understood as follows:
- is the ordinary derivative of as a function of the real variable .
- Wherever is not differentiable, is taken to be .
- If the integrand is not Lebesgue integrable on , the whole value is defined to be .
Dephasing (phaseDiff). Take any reals , any field and any . The dephasing is
with the circulation above. No sign or nonzero condition is placed on or . If , the fraction is taken to be , so .
Solid-rotation field (solidRotationField). For a real , this is the map given by
In coordinates , this is the vector .
Vortex field (vortexField). For a real , this is the map given by
where is the complex modulus. In coordinates this is . At the fraction has denominator and is taken to be , so .
Vorticity (vorticity). Take any and a point . Let be the real Fréchet derivative of at , treating as . The vorticity is the real number
If is not real-differentiable at , then is taken to be , and so .
Winding number (windingNumber). Take any (not required to be closed) and any point . The winding number is the complex number
The terms are understood as follows:
- is the real-variable derivative, taken as where it does not exist.
- At any with , the quotient is taken to be .
- If the integrand is not integrable on , the integral is taken to be .
The value is not asserted to be an integer, or even real.
Enclosed area (enclosedArea). For any , this is the real number
where:
- the integral is taken against Lebesgue (area) measure on ;
- is the winding number above;
- the value is defined to be if is not Lebesgue integrable over the plane.
Aharonov–Bohm parameter (abParam). For any reals , the parameter is
If , then .
Enhancement factor (enhancementFactor). Take the following data:
- an arbitrary set equipped with a σ-algebra;
- an arbitrary measure on , not required to be a probability measure or even finite;
- an arbitrary function .
The enhancement factor is
It is defined to be whenever this integrand is not -integrable. That happens, for example, if is not suitably measurable, or if is an infinite measure under which the nonnegative integrand has infinite integral.
Loop-number law (loopNumberLaw). Take the following data:
- and an arbitrary measure as above;
- a family of functions indexed by ;
- a natural number .
The loop-number law is
converted from an extended nonnegative value to a real number. The details are:
- is the winding number about the origin defined above.
- The equality is exact equality of complex numbers, so the imaginary part must be .
- For the condition is .
- If the set is not measurable, is applied as an outer measure.
- If the measure of the set is , then .
The paths are not required to be closed. Any whose winding number is not an integer is counted in no . Nothing forces .
Loop enhancement (loopEnhancement). For any sequence (with including ) and any real , the loop enhancement is
This sum is defined to be if the series is not unconditionally (equivalently, absolutely) summable.
Poisson enhancement (poissonEnhancement). For a real and any real , the Poisson enhancement is
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.