Independent definitions for the Navier–Stokes Comparator submission #
This is a copy of the definitions and helper lemmas in NavierStokes.Comparator,
without either challenge theorem or an import of the reference. The proof adapters
use this module so their import closure contains no reference placeholders.
Comparator checks these definitions against the independent reference at runtime.
The divergence $\nabla \cdot v$ of a vector field $v : \mathbb{R}^n \to \mathbb{R}^n$ at a point $x$, computed as the trace of the Jacobian matrix.
In coordinates, $\nabla \cdot v = \sum_i \partial v_i / \partial x_i$.
This is available as the notation ∇⬝ v. If v is not differentiable at x, then
fderiv is the zero map, so this definition has the corresponding junk value $0$.
Equations
- NavierStokes.Comparator.divergence v x = (LinearMap.trace ℝ (EuclideanSpace ℝ (Fin n))) ↑(fderiv ℝ v x)
Instances For
The divergence of a vector field is $0$ at points where fderiv has its junk value.
The divergence of the zero vector field is zero.
The divergence of a constant vector field is zero.
Divergence is additive at points where both vector fields are differentiable.
Divergence commutes with scalar multiplication at differentiability points.
A function $f : \mathbb{R}^n \to \alpha$ is 1-periodic if it is periodic in each coordinate with period $1$, i.e. $f(x + e_i) = f(x)$ for each unit vector $e_i$. This captures functions on the $n$-torus $\mathbb{R}^n/\mathbb{Z}^n$.
Equations
- NavierStokes.Comparator.IsOnePeriodic f = ∀ (x : EuclideanSpace ℝ (Fin n)) (i : Fin n), f (x + EuclideanSpace.single i 1) = f x
Instances For
Basic conditions on initial velocity field for the Navier-Stokes equations in $n$-dimensional space.
The initial velocity must be:
- Divergence-free (incompressibility condition: $\nabla \cdot u_0 = 0$)
- Smooth ($C^\infty$)
These conditions apply regardless of spatial dimension.
The initial velocity field is divergence-free (equation 2). This is the incompressibility constraint for the fluid.
The initial velocity field is smooth ($C^\infty$ in all variables).
Instances For
Initial velocity conditions for the Navier-Stokes problem on all of $\mathbb{R}^n$.
In addition to being smooth and divergence-free, the velocity must decay faster than any polynomial at spatial infinity (condition 4 in Fefferman's paper).
This condition ensures the velocity field has finite energy and reasonable behavior as $\lVert x \rVert \to \infty$.
- decay (m : ℕ) (K : ℝ) : ∃ (C : ℝ), ∀ (x : EuclideanSpace ℝ (Fin n)), ‖iteratedFDeriv ℝ m u₀ x‖ ≤ C / (1 + ‖x‖) ^ K
All derivatives of u₀ decay faster than any polynomial (condition 4). For any derivative order $m$ and any decay rate $K$, there exists a constant $C$ such that $\lVert \partial^m u_0(x) \rVert \le C/(1+\lVert x \rVert)^K$.
Instances For
Initial velocity conditions for the periodic Navier-Stokes problem on $\mathbb{R}^n/\mathbb{Z}^n$.
The velocity must be smooth, divergence-free, and 1-periodic in each coordinate (condition 8, part 1 in Fefferman's paper).
- isOnePeriodic : IsOnePeriodic u₀
The initial velocity is 1-periodic in each direction (condition 8, part 1).
Instances For
The basic smoothness condition on the external forcing term.
The force $f(x,t)$ must be smooth ($C^\infty$) in both space and time variables for $t \ge 0$.
The force is smooth on $\mathbb{R}^n \times [0,\infty)$.
Instances For
Force conditions for the Navier-Stokes problem on all of $\mathbb{R}^n$.
The force must be smooth and decay faster than any polynomial in both space and time (condition 5 in Fefferman's paper).
- decay (m : ℕ) (K : ℝ) : ∃ (C : ℝ), ∀ (x : EuclideanSpace ℝ (Fin n)), ∀ t ≥ 0, ‖iteratedFDerivWithin ℝ m (↿f) (Set.univ ×ˢ Set.Ici 0) (x, t)‖ ≤ C / (1 + ‖x‖ + t) ^ K
All derivatives of f decay faster than any polynomial in space and time (condition 5). For any derivative order $m$ and any decay rate $K$, there exists $C$ such that $\lVert \partial^m_{x,t} f(x,t) \rVert \le C/(1+\lVert x \rVert+t)^K$ for $t \ge 0$.
Instances For
Force conditions for the periodic Navier-Stokes problem on $\mathbb{R}^n/\mathbb{Z}^n$.
The force must be smooth, 1-periodic in space, and decay in time (conditions 8, part 1 and 9 in Fefferman's paper).
- isOnePeriodic (t : ℝ) : t ≥ 0 → IsOnePeriodic fun (x : EuclideanSpace ℝ (Fin n)) => f x t
The force is 1-periodic in space for all times $t \ge 0$ (condition 8, part 1).
- decay (m : ℕ) (K : ℝ) : ∃ (C : ℝ), ∀ (x : EuclideanSpace ℝ (Fin n)), ∀ t ≥ 0, ‖iteratedFDerivWithin ℝ m (↿f) (Set.univ ×ˢ Set.Ici 0) (x, t)‖ ≤ C / (1 + t) ^ K
All derivatives of f decay faster than any polynomial in time (condition 9).
Instances For
A solution (v, p) to the Navier-Stokes equations in n-dimensional space with viscosity $\nu$, initial velocity $u_0$, and external force $f$.
This structure captures the core requirements for a solution:
- The velocity and pressure satisfy the Navier-Stokes PDE (equation 1)
- The velocity remains divergence-free for all time (equation 2)
- The initial condition is satisfied (equation 3)
- The solution is smooth ($C^\infty$) for all time $t \ge 0$ (equations 6, 11)
- navier_stokes (x : EuclideanSpace ℝ (Fin n)) (t : ℝ) : t ≥ 0 → derivWithin (fun (x_1 : ℝ) => v x x_1) (Set.Ici 0) t + (fderiv ℝ (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x) (v x t) = nu • Laplacian.laplacian (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x - gradient (fun (x : EuclideanSpace ℝ (Fin n)) => p x t) x + f x t
The Navier-Stokes equation (equation 1): $\partial v/\partial t + (v \cdot \nabla)v = \nu\Delta v - \nabla p + f$.
- div_free (x : EuclideanSpace ℝ (Fin n)) (t : ℝ) : t ≥ 0 → divergence (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x = 0
Incompressibility constraint (equation 2): $\nabla \cdot v = 0$ for all $x$ and $t \ge 0$.
Initial condition (equation 3): $v(x,0) = u_0(x)$ for all $x$.
The velocity field is smooth ($C^\infty$) on $\mathbb{R}^n \times [0,\infty)$ (conditions 6, 11).
The pressure field is smooth ($C^\infty$) on $\mathbb{R}^n \times [0,\infty)$ (conditions 6, 11).
Instances For
A solution to the Navier-Stokes equations on all of $\mathbb{R}^n$ with appropriate decay and energy bounds.
In addition to the basic solution properties, we require:
- The velocity is in $L^2$ at each time $t \ge 0$ (finite kinetic energy)
- The total energy remains bounded for all time (condition 7)
- navier_stokes (x : EuclideanSpace ℝ (Fin n)) (t : ℝ) : t ≥ 0 → derivWithin (fun (x_1 : ℝ) => v x x_1) (Set.Ici 0) t + (fderiv ℝ (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x) (v x t) = nu • Laplacian.laplacian (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x - gradient (fun (x : EuclideanSpace ℝ (Fin n)) => p x t) x + f x t
- div_free (x : EuclideanSpace ℝ (Fin n)) (t : ℝ) : t ≥ 0 → divergence (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x = 0
- velocity_smooth : ContDiffOn ℝ (↑⊤) (↿v) (Set.univ ×ˢ Set.Ici 0)
- pressure_smooth : ContDiffOn ℝ (↑⊤) (↿p) (Set.univ ×ˢ Set.Ici 0)
- integrable (t : ℝ) : t ≥ 0 → MeasureTheory.MemLp (fun (x : EuclideanSpace ℝ (Fin n)) => ‖v x t‖) 2 MeasureTheory.volume
The velocity is square-integrable at each time $t \ge 0$ (condition 7).
The kinetic energy $\int \lVert v(x,t) \rVert^2\,dx$ remains uniformly bounded for all time (condition 7), where the integral is the Lebesgue integral.
Instances For
A solution to the Navier-Stokes equations on the $n$-torus $\mathbb{R}^n/\mathbb{Z}^n$.
The velocity must be 1-periodic in each spatial direction for all times (condition 10). The pressure is also required to be 1-periodic, following the errata appended to the Clay problem statement.
- navier_stokes (x : EuclideanSpace ℝ (Fin n)) (t : ℝ) : t ≥ 0 → derivWithin (fun (x_1 : ℝ) => v x x_1) (Set.Ici 0) t + (fderiv ℝ (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x) (v x t) = nu • Laplacian.laplacian (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x - gradient (fun (x : EuclideanSpace ℝ (Fin n)) => p x t) x + f x t
- div_free (x : EuclideanSpace ℝ (Fin n)) (t : ℝ) : t ≥ 0 → divergence (fun (x : EuclideanSpace ℝ (Fin n)) => v x t) x = 0
- velocity_smooth : ContDiffOn ℝ (↑⊤) (↿v) (Set.univ ×ˢ Set.Ici 0)
- pressure_smooth : ContDiffOn ℝ (↑⊤) (↿p) (Set.univ ×ˢ Set.Ici 0)
- isOnePeriodic_velocity (t : ℝ) : t ≥ 0 → IsOnePeriodic fun (x : EuclideanSpace ℝ (Fin n)) => v x t
The velocity is 1-periodic in space for all times $t \ge 0$ (condition 10).
- isOnePeriodic_pressure (t : ℝ) : t ≥ 0 → IsOnePeriodic fun (x : EuclideanSpace ℝ (Fin n)) => p x t
The pressure is 1-periodic in space for all times $t \ge 0$ (Clay errata).