Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import Euler.CylinderCompactTranslation |
| 2 | import Euler.PacketPeriodicPotential |
| 3 | |
| 4 | /-! |
| 5 | The literal compact terminal datum χ₁(y) fδ(θ) ξT. The periodic variable |
| 6 | has period 2π. The constant vector is multiplied by the spatial cutoff |
| 7 | before it is placed in the genuine cylinder L² space. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketTerminalDatum |
| 13 | |
| 14 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 15 | EulerMetricTransport EulerTransportDerivatives EulerSpatialCutoffs EulerPeriodicProfile |
| 16 | EulerCylinderCompact EulerLpCylinderTranslation |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | abbrev period : ℝ := 2 * Real.pi |
| 20 | |
| 21 | instance period_pos : Fact (0 < period) := ⟨mul_pos (by norm_num) Real.pi_pos⟩ |
| 22 | |
| 23 | def scalarField (δ : ℝ) (x : LiftDomain period) : ℝ := |
| 24 | innerCutoff x.1 * (profile_periodic δ).lift x.2 |
| 25 | |
| 26 | def field {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 27 | (δ : ℝ) (ξ : U) (x : LiftDomain period) : U := scalarField δ x • ξ |
| 28 | |
| 29 | @[simp] theorem scalarField_coe (δ : ℝ) (y : Space) (θ : ℝ) : |
| 30 | scalarField δ (y,(θ : AddCircle period)) = innerCutoff y * profile δ θ := by |
| 31 | simp only [scalarField,Function.Periodic.lift_coe] |
| 32 | |
| 33 | @[simp] theorem field_coe {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 34 | (δ : ℝ) (ξ : U) (y : Space) (θ : ℝ) : |
| 35 | field δ ξ (y,(θ : AddCircle period)) = (innerCutoff y * profile δ θ) • ξ := by |
| 36 | rw [field,scalarField_coe] |
| 37 | |
| 38 | theorem local_scalarField (δ : ℝ) (y : Space) (θ : ℝ) : |
| 39 | localFieldLift period (scalarField δ) (y,(θ : AddCircle period)) = |
| 40 | fun a : LiftTangent => innerCutoff (y+a.1) * profile δ (θ+a.2) := by |
| 41 | funext a |
| 42 | change scalarField δ (y+a.1,(θ : AddCircle period)+(a.2 : AddCircle period)) = _ |
| 43 | rw [← AddCircle.coe_add,scalarField_coe] |
| 44 | |
| 45 | theorem scalarField_smooth (δ : ℝ) (hδ : 0 < δ) (x : LiftDomain period) : |
| 46 | ContDiff ℝ ∞ (localFieldLift period (scalarField δ) x) := by |
| 47 | rcases x with ⟨y,θ⟩ |
| 48 | obtain ⟨s,hs⟩ := QuotientAddGroup.mk_surjective θ |
| 49 | rw [← hs,local_scalarField] |
| 50 | exact (innerCutoff_contDiff.comp (contDiff_const.add contDiff_fst)).mul |
| 51 | ((profile_contDiff δ hδ).comp (contDiff_const.add contDiff_snd)) |
| 52 | |
| 53 | theorem field_smooth {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 54 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (x : LiftDomain period) : |
| 55 | ContDiff ℝ ∞ (localFieldLift period (field δ ξ) x) := |
| 56 | (scalarField_smooth δ hδ x).smul contDiff_const |
| 57 | |
| 58 | def supportSet : Set (LiftDomain period) := tsupport innerCutoff ×ˢ Set.univ |
| 59 | |
| 60 | theorem supportSet_compact : IsCompact supportSet := |
| 61 | innerCutoff_compactSupport.prod isCompact_univ |
| 62 | |
| 63 | theorem field_zero_outside {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 64 | (δ : ℝ) (ξ : U) (x : LiftDomain period) (hx : x.1 ∉ tsupport innerCutoff) : |
| 65 | field δ ξ x = 0 := by |
| 66 | simp only [field,scalarField,image_eq_zero_of_notMem_tsupport hx,zero_mul,zero_smul] |
| 67 | |
| 68 | theorem field_support {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 69 | (δ : ℝ) (ξ : U) : tsupport (field δ ξ) ⊆ supportSet := by |
| 70 | apply closure_minimal _ supportSet_compact.isClosed |
| 71 | intro x hx |
| 72 | refine ⟨?_,Set.mem_univ _⟩ |
| 73 | by_contra hn |
| 74 | exact hx (field_zero_outside δ ξ x hn) |
| 75 | |
| 76 | theorem field_compact {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 77 | (δ : ℝ) (ξ : U) : HasCompactSupport (field δ ξ) := |
| 78 | supportSet_compact.of_isClosed_subset (isClosed_tsupport _) (field_support δ ξ) |
| 79 | |
| 80 | def compactField {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 81 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) : CompactField period U where |
| 82 | field := field δ ξ |
| 83 | compact := field_compact δ ξ |
| 84 | smooth := field_smooth δ hδ ξ |
| 85 | |
| 86 | def terminal {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 87 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) : CylinderL2 period U := (compactField δ hδ ξ).toLp |
| 88 | |
| 89 | theorem terminal_ae {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 90 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) : terminal δ hδ ξ =ᵐ[liftMeasure period] field δ ξ := |
| 91 | (compactField δ hδ ξ).toLp_ae |
| 92 | |
| 93 | theorem terminal_orbit_contDiff {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 94 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) : |
| 95 | ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (terminal δ hδ ξ)) := |
| 96 | (compactField δ hδ ξ).translation_contDiff |
| 97 | |
| 98 | theorem field_odd {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 99 | (δ : ℝ) (ξ : U) (x : LiftDomain period) : field δ ξ (-x) = -field δ ξ x := by |
| 100 | rcases x with ⟨y,θ⟩ |
| 101 | obtain ⟨s,hs⟩ := QuotientAddGroup.mk_surjective θ |
| 102 | rw [← hs] |
| 103 | change field δ ξ (-y,-(s : AddCircle period)) = -field δ ξ (y,(s : AddCircle period)) |
| 104 | rw [← AddCircle.coe_neg,field_coe,field_coe,innerCutoff_even,profile_odd,mul_neg,neg_smul] |
| 105 | |
| 106 | theorem profile_integral_zero (δ : ℝ) : |
| 107 | (∫ θ in (0 : ℝ)..period, profile δ θ) = 0 := by |
| 108 | have h := (profile_periodic δ).intervalIntegral_add_eq 0 (-Real.pi) |
| 109 | have he : -Real.pi + period = Real.pi := by ring |
| 110 | simpa only [zero_add,he,profile_mean_zero] using h |
| 111 | |
| 112 | theorem field_integral_zero {U : Type*} [NormedAddCommGroup U] [NormedSpace ℝ U] [CompleteSpace U] |
| 113 | (δ : ℝ) (ξ : U) (y : Space) : |
| 114 | (∫ θ in (0 : ℝ)..period, field δ ξ (y,(θ : AddCircle period))) = 0 := by |
| 115 | simp only [field_coe,intervalIntegral.integral_smul_const, |
| 116 | intervalIntegral.integral_const_mul,profile_integral_zero,mul_zero,zero_smul] |
| 117 | |
| 118 | end EulerPacketTerminalDatum |