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.PacketPotentialRegularity |
| 2 | |
| 3 | /-! The literal angular vector potential on the periodic cylinder. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketPeriodicPotential |
| 8 | |
| 9 | open EulerSmoothLimit EulerPacketPiola EulerPacketAngularPotential EulerPacketCrossProduct |
| 10 | EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives |
| 11 | Set MeasureTheory |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] |
| 15 | |
| 16 | theorem liftIco_eq_periodicLift {E : Type*} (f : ℝ → E) (hf : Function.Periodic f P) : |
| 17 | AddCircle.liftIco P 0 f = hf.lift := by |
| 18 | funext θ |
| 19 | change f (AddCircle.equivIco P 0 θ) = hf.lift θ |
| 20 | exact (hf.lift_coe (AddCircle.equivIco P 0 θ)).symm.trans |
| 21 | (congrArg hf.lift (AddCircle.coe_equivIco (p := P) (a := 0) (y := θ))) |
| 22 | |
| 23 | def field (m : Space → Space) (A : LiftDomain P → Space) (x : LiftDomain P) : Space := |
| 24 | AddCircle.liftIco P 0 (potential P (m x.1) (fun θ => A (x.1,(θ : AddCircle P)))) x.2 |
| 25 | |
| 26 | omit [Fact (0 < P)] in |
| 27 | theorem angle_periodic (A : LiftDomain P → Space) (y : Space) : |
| 28 | Function.Periodic (fun θ : ℝ => A (y,(θ : AddCircle P))) P := by |
| 29 | intro θ |
| 30 | change A (y,((θ+P : ℝ) : AddCircle P)) = A (y,(θ : AddCircle P)) |
| 31 | rw [AddCircle.coe_add_period] |
| 32 | |
| 33 | theorem field_cover (m : Space → Space) (A : LiftDomain P → Space) |
| 34 | (hA : Continuous A) |
| 35 | (hmean : ∀ y, (∫ θ in (0 : ℝ)..P, A (y,(θ : AddCircle P))) = 0) |
| 36 | (z : LiftTangent) : |
| 37 | field P m A (coveringMap P z) = |
| 38 | coveringPotential P m (localFieldLift P A 0) z := by |
| 39 | have hAc : Continuous (fun θ : ℝ => A (z.1,(θ : AddCircle P))) := |
| 40 | hA.comp (continuous_const.prodMk (AddCircle.continuous_mk' P)) |
| 41 | have hper := potential_periodic P (m z.1) _ hAc (angle_periodic P A z.1) (hmean z.1) |
| 42 | change AddCircle.liftIco P 0 (potential P (m z.1) (fun θ => A (z.1,(θ : AddCircle P)))) |
| 43 | (z.2 : AddCircle P) = _ |
| 44 | rw [liftIco_eq_periodicLift P _ hper, Function.Periodic.lift_coe] |
| 45 | simp only [coveringPotential, localFieldLift, Prod.fst_zero, Prod.snd_zero, zero_add] |
| 46 | |
| 47 | theorem field_smooth (m : Space → Space) (A : LiftDomain P → Space) |
| 48 | (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) |
| 49 | (hA : ∀ x, ContDiff ℝ ∞ (localFieldLift P A x)) |
| 50 | (hmean : ∀ y, (∫ θ in (0 : ℝ)..P, A (y,(θ : AddCircle P))) = 0) |
| 51 | (x : LiftDomain P) : ContDiff ℝ ∞ (localFieldLift P (field P m A) x) := by |
| 52 | have hAc := smoothField_continuous P A hA |
| 53 | have hQ := coveringPotential_contDiff P (le_of_lt (Fact.out : 0 < P)) m _ hm hnz (hA 0) |
| 54 | obtain ⟨θ, hθ⟩ := QuotientAddGroup.mk_surjective x.2 |
| 55 | have hx : x = coveringMap P (x.1,θ) := by |
| 56 | apply Prod.ext |
| 57 | · rfl |
| 58 | · exact hθ.symm |
| 59 | rw [hx, localFieldLift_cover] |
| 60 | have he : localFieldLift P (field P m A) 0 = coveringPotential P m (localFieldLift P A 0) := by |
| 61 | funext z |
| 62 | simpa only [localFieldLift, Prod.fst_zero, Prod.snd_zero, zero_add, coveringMap] using |
| 63 | field_cover P m A hAc hmean z |
| 64 | rw [he] |
| 65 | exact hQ.comp (contDiff_const.add contDiff_id) |
| 66 | |
| 67 | theorem field_continuous (m : Space → Space) (A : LiftDomain P → Space) |
| 68 | (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) |
| 69 | (hA : ∀ x, ContDiff ℝ ∞ (localFieldLift P A x)) |
| 70 | (hmean : ∀ y, (∫ θ in (0 : ℝ)..P, A (y,(θ : AddCircle P))) = 0) : |
| 71 | Continuous (field P m A) := |
| 72 | smoothField_continuous P _ (field_smooth P m A hm hnz hA hmean) |
| 73 | |
| 74 | theorem field_vanishes (m : Space → Space) (A : LiftDomain P → Space) |
| 75 | (y : Space) (hy : ∀ θ : AddCircle P, A (y,θ)=0) (θ : AddCircle P) : |
| 76 | field P m A (y,θ)=0 := by |
| 77 | unfold field |
| 78 | have hzero : (fun s : ℝ => A (y,(s : AddCircle P))) = fun _ => 0 := funext fun s => hy s |
| 79 | rw [hzero, potential_zero] |
| 80 | rfl |
| 81 | |
| 82 | /-- Angular integration preserves the compact spatial support of the input. -/ |
| 83 | theorem field_compact (m : Space → Space) (A : LiftDomain P → Space) |
| 84 | (hA : HasCompactSupport A) : HasCompactSupport (field P m A) := by |
| 85 | let K : Set Space := Prod.fst '' tsupport A |
| 86 | have hK : IsCompact K := hA.image continuous_fst |
| 87 | apply HasCompactSupport.intro (hK.prod (isCompact_univ : IsCompact (univ : Set (AddCircle P)))) |
| 88 | intro x hx |
| 89 | have hy : x.1 ∉ K := fun h => hx ⟨h,mem_univ _⟩ |
| 90 | apply field_vanishes P m A x.1 _ x.2 |
| 91 | intro θ |
| 92 | apply image_eq_zero_of_notMem_tsupport |
| 93 | intro hs |
| 94 | exact hy ⟨(x.1,θ),hs,rfl⟩ |
| 95 | |
| 96 | /-- The actual angular derivative of the genuine periodic potential. -/ |
| 97 | theorem field_angle_derivative (m : Space → Space) (A : LiftDomain P → Space) |
| 98 | (hm : ContDiff ℝ ∞ m) (hnz : ∀ y, m y ≠ 0) |
| 99 | (hA : ∀ x, ContDiff ℝ ∞ (localFieldLift P A x)) |
| 100 | (hmean : ∀ y, (∫ θ in (0 : ℝ)..P, A (y,(θ : AddCircle P))) = 0) |
| 101 | (x : LiftDomain P) : |
| 102 | fieldDerivative P (0,1) (field P m A) x = potentialMultiplier (m x.1) (A x) := by |
| 103 | have hAc := smoothField_continuous P A hA |
| 104 | obtain ⟨θ, hθ⟩ := QuotientAddGroup.mk_surjective x.2 |
| 105 | have hx : x = coveringMap P (x.1,θ) := by |
| 106 | apply Prod.ext |
| 107 | · rfl |
| 108 | · exact hθ.symm |
| 109 | rw [hx] |
| 110 | unfold fieldDerivative |
| 111 | rw [fderiv_localFieldLift_cover] |
| 112 | have he : localFieldLift P (field P m A) 0 = coveringPotential P m (localFieldLift P A 0) := by |
| 113 | funext z |
| 114 | simpa only [localFieldLift, Prod.fst_zero, Prod.snd_zero, zero_add, coveringMap] using |
| 115 | field_cover P m A hAc hmean z |
| 116 | rw [he] |
| 117 | simpa only [localFieldLift, Prod.fst_zero, Prod.snd_zero, zero_add, coveringMap] using |
| 118 | coveringPotential_angle_derivative P m _ (x.1,θ) |
| 119 | ((hA 0).continuous.comp (continuous_const.prodMk continuous_id)) |
| 120 | ((coveringPotential_contDiff P (le_of_lt (Fact.out : 0 < P)) m _ hm hnz (hA 0)).differentiable |
| 121 | (by simp) _) |
| 122 | |
| 123 | end EulerPacketPeriodicPotential |