The ladder · Level 2 · Its folder on the map
Finite-time blowup for the heat equation with a quadratic source
On (0, L) with zero boundary values, the equation ut − uxx = u2 has no solution for all time from a datum g ≥ 0 whose moment η0 against the first Dirichlet eigenfunction, normalized to integral one, exceeds the eigenvalue λ = (π/L)2. A solution on [0, T] has T ≤ λ−1 log(η0/(η0 − λ)). The theorems exclude long solutions and bound the lifespan; they do not state that a solution exists or what becomes unbounded.
- Source
- BlowupZoo Team, Level 2: The heat equation with a quadratic source, the ladder notes of this level, from the ladder text and the book of BlowupZoo
- Proof outline
- The whole proof, with the Lean declarations of each step
- In the zoo
- Heat equation with source u2 on an interval: no global solution
- Lean theorems
Heat.blowup Heat.lifespan_ le
The idea of the proof
Test the equation against the eigenfunction. For η(t) = ∫w u(t), two integrations by parts move the second derivative onto w; the boundary terms vanish because u and w are zero at the ends. Since w′′ = −λw and w is a probability density, Jensen's inequality gives η′ = ∫w uxx + ∫w u2 = −λη + ∫w u2 ≥ η2 − λη.
The steps
Figure 1 has a box for the theorem and for each step. A line joins a step to a step that it uses, the lower one. A box is a link to its step in the list below, where a step opens into its parts and its Lean declarations.
- Linesuses
The proof, step by step
Step 1Nonnegative data give nonnegative solutionsThe minimum principle keeps u ≥ 0, which the moment inequality needs.
The moment inequality bounds ∫(Δφ) u from below by a lower bound of Δφ, and that step multiplies an inequality by u. So we need u ≥ 0. It comes from the minimum principle, because the source has a sign: ut − Δu = u2 ≥ 0 makes u a supersolution of the heat equation, and the minimum of a supersolution over the closed cylinder is attained on its parabolic boundary, the base t = 0 and the sides.
Lean. HeatEquation., HeatEquation., ParabolicMaximum., ParabolicMaximum. and ParabolicMaximum..
1.1The minimum principle
PDEAtlas proves the weak maximum principle for operators ut − ∑kD2u[σk, σk] + Du[b] given by finitely many vector fields; the heat operator is the case of the coordinate directions. The proof first treats a strict subsolution. If it had a maximum above the boundary bound, the maximum would be at an interior point at a positive time.
- 1.1.1
The heat operator as a factored operator
- 1.1.2
The maximum and the minimum principle for the heat equation
- 1.1.3
The closed cylinder and its parabolic boundary
ParabolicMaximum.PDEAtlasclosedCylinder ParabolicMaximum.PDEAtlasparabolicBoundary
- 1.1.4
The operators
- 1.1.5
A maximum above the boundary bound is interior
ParabolicMaximum.PDEAtlasstrict_ maximum_ core
- 1.1.6
The strict case
- 1.1.7
The perturbation u − εt
- 1.1.8
The weak maximum principle
- 1.1.9
The spatial part of the operator at a maximum
- 1.1.10
Second directional derivatives are ≤ 0 at a maximum
- 1.1.11
The one-variable facts at a maximum
IsMaxOn.PDEAtlasderiv_ nonneg_ of_ left_ lt IsLocalMax.PDEAtlasderiv_ deriv_ nonpos
Lean declarations
- 1.L1
The class of solutions
- 1.L2
The slices in space are C2 and the time derivative exists inside
- 1.L3
Zero values on the sides up to the corner times
- 1.L4
u ≥ 0 from g ≥ 0
Step 2Tests inside the domainTruncate w smoothly below a level ε, with a uniform error in the eigenfunction equation.
We would like to test the equation against w, but u is only continuous up to the boundary, and Green's formula against w would need the normal derivative of u there. So we replace w by a test function that vanishes near the boundary and is still almost an eigenfunction.
Lean. HeatEquation., HeatEquation., HeatEquation., HeatEquation. and HeatEquation..
2.1A convex truncation
Let θ be a smooth increasing function that is 0 below 0 and 1 above 1 (Mathlib's smooth transition), and for ε > 0 put ψε(s) = ∫0sθ((r − ε)/ε) dr. Then ψε is C2, vanishes for s ≤ ε, has slope between 0 and 1, is convex, and stays close to the identity: s − 2ε ≤ ψε(s) ≤ s for s ≥ 0.
- 2.1.1
The truncation ψε
- 2.1.2
Its derivative is the transition, and it is C2
- 2.1.3
It vanishes below ε
- 2.1.4
s − 2ε ≤ ψε(s) ≤ s
- 2.1.5
It is convex
2.2What the test keeps
Since w is continuous on the closure and zero on the boundary, the set where w ≥ ε is a compact subset of Ω. So φε has compact support inside Ω, and it is C2: near a point of Ω it is ψε ∘ w, and near any other point it is zero. It satisfies 0 ≤ φε ≤ w and φε ≥ w − 2ε in Ω.
- 2.2.1
The test φε
HeatEquation.PDEAtlasNonlinear. dirichletTest
- 2.2.2
Near a point of Ω it is ψε ∘ w
- 2.2.3
Its support is a compact subset of Ω
- 2.2.4
It is C2
- 2.2.5
w − 2ε ≤ φε ≤ w
- 2.2.6
Δφε ≥ −λφε − 2λε
- 2.2.7
The Laplacian of ψ ∘ w
PDE.PDEAtlaslaplacian_ comp_ real
Step 3The moment inequalityDifferentiate the tested moment and bound its growth from below, up to the error.
Fix a test φ that is C2, nonnegative, of mass ∫φ ≤ 1, with compact support inside Ω, and with Δφ ≥ −λφ − β in Ω for some β ≥ 0. The truncations of tests inside the domain (Section 4) are such tests, with β = 2λε; their mass is at most ∫w = 1. We follow the moment y(t) = ∫φ(x) u(t, x) dx.
Lean. HeatEquation., HeatEquation., HeatEquation., PDE. and PDE..
3.1The moment is regular
The integrand is continuous on [0, T] × supp φ, a compact set, so y is continuous on [0, T], including at t = 0, where y(0) = ∫φ g. For 0 < t < T the time derivative ut is continuous on a compact neighbourhood of {t} × supp φ, so we may differentiate under the integral: y′(t) = ∫φ ut. On every interval [a, b] with 0 < a and b < T, y is the integral of this continuous derivative, hence absolutely continuous.
- 3.1.1
The time derivative is continuous inside the cylinder
- 3.1.2
y is continuous on [0, T]
- 3.1.3
y′ = ∫φ ut inside, and y is absolutely continuous on every interval inside
- 3.1.4
Continuity and differentiation under the integral on a compact set
- 3.1.5
The integral of a continuous derivative is absolutely continuous
3.2Testing the equation
For 0 < t < T the equation gives y′ = ∫φ Δu + ∫φ u2. Because φ has compact support inside Ω, two integrations by parts move the Laplacian onto φ with no boundary terms and no derivative of u on the boundary: ∫φ Δu = ∫(Δφ) u. The source is bounded by Jensen's inequality for the weight φ.
- 3.2.1
∫φ Δu = ∫(Δφ) u for a test with compact support
- 3.2.2
One integration by parts with compact support
- 3.2.3
Jensen's inequality for a weight of mass at most one
- 3.2.4
y2 ≤ y′ − ∫(Δφ) u, with no sign of u
- 3.2.5
y2 ≤ y′ + λy + βC
Step 4The damped comparisonBound the length of any interval on which a function grows faster than its square minus a linear loss.
This step is about functions of one variable. How long can a function grow at least as fast as its square minus a linear loss? For the equation y′ = y2 − λy the answer is explicit: v = 1/y solves the linear equation v′ = λv − 1, so v(t) = 1/λ + (1/(y(0)) − 1/λ)eλt, which reaches zero, and y infinity, at t = λ−1 log(y(0)/(y(0) − λ)) when y(0) > λ.
Lean. PDE., PDE., PDE., PDE. and PDE..
4.1The integrating factor
First take an interval [a, b] on which y is absolutely continuous and y(a) > 0. The factor z(t) = eλ(t−a) y(t) removes the loss: z′ = eλ(t−a)(y′ + λy) ≥ c e−λ(t−a)(p−1) zp. So z′ ≥ 0 almost everywhere, and an absolutely continuous function with this property is nondecreasing; hence z ≥ z(a) > 0.
- 4.1.1
The integrating factor
- 4.1.2
The bound on one interval
- 4.1.3
A nonnegative derivative almost everywhere makes an absolutely continuous function nondecreasing
- 4.1.4
Real powers of a positive nondecreasing absolutely continuous function
- 4.1.5
A lower bound c of the derivative gives an increase of at least c (b − a)
4.2Down to the initial time
The moment of the heat equation has a derivative only inside (0, T). So we apply the estimate on [ak, T] with ak = T/(k + 1), where it holds, and let k → ∞. Continuity of y at 0 gives y(ak) → y(0), and the strict inequality becomes the inequality of the lemma.
- 4.2.1
The lemma, down to t = 0
Step 5Kaplan's boundAbsorb the errors into a slightly larger loss, let them tend to zero, and solve for T.
Now let u be a solution on [0, T] from g ≥ 0, on a bounded open set Ω, with a nonnegative Dirichlet eigenfunction w of integral one, eigenvalue λ > 0, and η = ∫w g > λ. The tested moments satisfy Kaplan's inequality only up to the error 2λεC, and they may start slightly below η. We first trade both defects for a slightly larger loss, then let the loss return to λ.
Lean. HeatEquation., PDE., HeatEquation., HeatEquation. and HeatEquation..
5.1Absorbing the errors
Fix numbers λ < Λ < m < η and a time T0 with 0 < T0 < T. The solution is continuous on the compact set [0, T] × Ω, so it is bounded, and ∫u(t) ≤ C for one constant C ≥ 0 and every t. Choose ε > 0 so small that 2εC < η − m and 2λεC < (Λ − λ) Λ, and let y be the moment of u against the test φε.
- 5.1.1
The moment with the errors absorbed
- 5.1.2
The moment stays above the level Λ
5.2Letting the errors go
For 0 < δ < min((η − λ)/2, T) take Λ = λ + δ, m = η − δ and T0 = T − δ; then λ < Λ < m < η. The comparison gives 1 − e−(λ+δ)(T−δ) ≤ (λ + δ)/(y(0)) ≤ (λ + δ)/(η − δ). Both sides are continuous in δ, so as δ decreases to 0 we get 1 − e−λT ≤ λ/η.
- 5.2.1
Kaplan's bound on a bounded open set
5.3No global solution
If there were a solution on [0, T] for every T > 0, we could take T one unit beyond the bound, and the bound would fail. This is the second statement.
- 5.3.1
No global solution
- 5.3.2
Outside the closure of the theorems: the same statement with the conditions on the solution written out
HeatEquation.PDEAtlas; the main theorems do not use itNonlinear. not_ global_ square_ solution_ of_ contDiffOn
Step 6The intervalCheck that (π/(2L)) sin(πx/L) is a Dirichlet eigenfunction of (0, L) with integral one and eigenvalue (π/L)2.
The general theorem asks for a nonempty bounded open set Ω and a function w that is C2 in Ω, continuous on its closure, zero on its boundary, nonnegative, of integral one, with Δw = −λw for some λ > 0. On the interval we check these conditions for w(x) = (π/(2L)) sin (πx)/L, λ = (π/L)2. The interval is the set of points of ℝ1 whose coordinate lies in (0, L).
Constants (values from the web of constants, which Lean writes, or from the Lean source):
- Blowup threshold for the moment-to-eigenvalue ratio: at most 1 (proved in Lean, by
Heat.).ratio_ le_ one - Threshold for the sine datum on an interval: at most 4 · π (proved in Lean, by
Heat.).sine_ blowup - Amplitude threshold on (0, π): at most 1.27324 (exactly 25464791/20000000; proved in Lean, by
Heat.).certified. heat. amplitude - First Dirichlet eigenvalue: at most 1 (proved in Lean, by
Heat.).eigenvalue_ pi_ le_ one - Weighted average of the initial datum: at least π (proved in Lean, by
Heat.).pi_ le_ moment - Upper bound on the lifespan: at most log(π/(π − 1)) (proved in Lean, by
Heat.).lifespan_ pi_ le - Initial average exceeds the eigenvalue (a condition; Lean proves that it holds, by
Heat.).certified. heat. large
Lean. Heat., Heat., Heat., Heat. and Heat..
6.1The numbers
The sine datum A sin(πx/L) has the average ∫0Lw A sin(πx/L) dx = Aπ/4. The condition Aπ/4 > (π/L)2 is A > 4π/L2: above this amplitude there is no global solution, on any interval. More generally, any factor κ ≥ 0 that would replace the condition η0 > λ by η0 > κλ on every interval would give the amplitude 4πκ/L2; the theorem proves the factor κ = 1.
- 6.1.1
Outside the closure of the theorems: the average Aπ/4 of the sine datum
Heat.the main theorems do not use itintegral_ eigenfunction_ mul_ sine
- 6.1.2
No global solution from A sin(πx/L) once AL2 > 4πκ, and for κ = 1
Heat.the main theorems do not use itsine_ blowup_ of_ ratio Heat.the main theorems do not use itsine_ blowup
- 6.1.3
The datum (13/10) sin x on (0, π)
Heat.the main theorems do not use itsine_ blowup_ pi
- 6.1.4
The lifespan bound log(π/(π − 1)) < 0.3832 for 4 sin x
Heat.the main theorems do not use itsine_ lifespan_ le_ pi
- 6.1.5
Kaplan's bound is monotone in the eigenvalue and the average
Heat.the main theorems do not use itinv_ mul_ log_ div_ sub_ le
- 6.1.6
The values and relations of this level in the web of constants: the factor 1, the amplitudes 4π for AL2 and 1.27323955 for A sin x on (0, π), and the lifespan log(π/(π − 1))
Heat.the main theorems do not use itratio_ le_ one Heat.the main theorems do not use itsine_ le_ of_ ratio Heat.the main theorems do not use itamplitude_ le_ of_ sine Heat.the main theorems do not use itlifespan_ pi_ le Heat.the main theorems do not use itlifespan_ pi_ le_ of
Lean declarations
- 6.L1
The interval as a domain in ℝ1
- 6.L2
The eigenfunction w
- 6.L3
The interval is open, bounded and nonempty
- 6.L4
Its boundary lies in the two ends, where w = 0
- 6.L5
- 6.L6
w is C2 with w′′ = −(π/L)2w
- 6.L7
Integrals over the interval in ℝ1 are integrals over (0, L)
- 6.L8
BackgroundDerivatives and exact computation
The equation is written with the partial derivatives and the Laplacian of PDEAtlas on ℝn. The steps use the chain rule for the Laplacian of ψ ∘ w, that the Laplacian depends only on the function near the point and vanishes outside the support, and that the Laplacian of a C2 function is continuous. The exact computations of the interval, w′′ = −(π/L)2w and the integrals of w and of w A sin(πx/L), are done by SymLean's cas tactic.
Lean. PDE., EuclideanLaplacian., CAS., CAS. and CAS..
Lean declarations
- A.L1
The Laplacian
PDE.PDEAtlaslaplacian
- A.L2
It depends only on the function near the point
- A.L3
The Laplacian of a symbolic expression, which
casuses for w′′ - A.L4
The simplification passes with their side conditions
- A.L5
The polynomial normal form keeps the value of an expression
- A.L6
The check of the derivative of a candidate primitive
- A.L7
The fundamental theorem of calculus for a certified primitive
The Lean statements
Heat.Heat/
theorem blowup (hL : 0 < L) (hg : ∀ x ∈ interval L, 0 ≤ g x)
(hlarge : (π / L) ^ 2 < ∫ x in interval L, eigenfunction L x * g x) :
¬ ∀ T > 0, ∃ u, IsInteriorDirichletSquareSolution (interval L) T g uHeat.Heat/
theorem lifespan_le (hL : 0 < L) (hg : ∀ x ∈ interval L, 0 ≤ g x)
(hlarge : (π / L) ^ 2 < ∫ x in interval L, eigenfunction L x * g x)
{T : ℝ} {u : ℝ → ℝ^1 → ℝ} (hu : IsInteriorDirichletSquareSolution (interval L) T g u) :
T ≤ ((π / L) ^ 2)⁻¹ * log ((∫ x in interval L, eigenfunction L x * g x) /
((∫ x in interval L, eigenfunction L x * g x) - (π / L) ^ 2))