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 NavierStokes.BaseContextAssembly |
| 2 | import NavierStokes.BaseStressClasses |
| 3 | import NavierStokes.PhysicalResidualNaturality |
| 4 | |
| 5 | /-! |
| 6 | # The actual slow base on a coarsest common integer cover |
| 7 | |
| 8 | The physical base, virtual stress, dyadic band and small parameter stay fixed. |
| 9 | Only the integer cover used in the graph operators changes. The forward |
| 10 | real-lift map is the genuine integer covering matrix, with its actual norm. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.CommonBaseContext |
| 16 | |
| 17 | open Set Function Filter WeightedClasses |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | abbrev Plane := BaseContextAssembly.Plane |
| 21 | abbrev Point := BaseContextAssembly.Point |
| 22 | abbrev Slow := BaseContextAssembly.Slow |
| 23 | |
| 24 | /-- Scalar hypotheses on the chosen common index, including every low band. -/ |
| 25 | structure IndexBounds (h : ℝ) (index : ℕ → ℕ) (K : ℕ) : Prop where |
| 26 | le_native : ∀ n, index n ≤ ChartScales.nativeIndex h n |
| 27 | gap_le : ∀ n, ChartScales.nativeIndex h n - index n ≤ K |
| 28 | |
| 29 | noncomputable def radialFrequency (h : ℝ) (index : ℕ → ℕ) (n : ℕ) : ℝ := |
| 30 | ChartScales.Lambda ^ index n * ChartScales.Q n ^ (ChartScales.radialExponent h / 2) |
| 31 | |
| 32 | noncomputable def fastCoefficient (h : ℝ) (index : ℕ → ℕ) (n : ℕ) : ℝ := |
| 33 | ChartScales.Tg ^ index n * ChartScales.Q n ^ (1 + h) |
| 34 | |
| 35 | theorem radialFrequency_pos (h : ℝ) (index : ℕ → ℕ) (n : ℕ) : 0 < radialFrequency h index n := |
| 36 | mul_pos (pow_pos ChartScales.Lambda_pos _) (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) |
| 37 | |
| 38 | theorem fastCoefficient_pos (h : ℝ) (index : ℕ → ℕ) (n : ℕ) : 0 < fastCoefficient h index n := |
| 39 | mul_pos (pow_pos ChartScales.Tg_pos _) (Real.rpow_pos_of_pos (ChartScales.Q_pos n) _) |
| 40 | |
| 41 | theorem radialFrequency_mono (h : ℝ) {i j : ℕ → ℕ} {n : ℕ} (hij : i n ≤ j n) : |
| 42 | radialFrequency h i n ≤ radialFrequency h j n := |
| 43 | mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by linarith [ChartScales.Lambda_two_lt]) hij) |
| 44 | (Real.rpow_nonneg (ChartScales.Q_pos n).le _) |
| 45 | |
| 46 | theorem fastCoefficient_mono (h : ℝ) {i j : ℕ → ℕ} {n : ℕ} (hij : i n ≤ j n) : |
| 47 | fastCoefficient h i n ≤ fastCoefficient h j n := |
| 48 | mul_le_mul_of_nonneg_right (pow_le_pow_right₀ ChartScales.Tg_one_lt.le hij) |
| 49 | (Real.rpow_nonneg (ChartScales.Q_pos n).le _) |
| 50 | |
| 51 | noncomputable def reconstruction (h : ℝ) (index : ℕ → ℕ) (a b : ℝ) (hab : a < b) : |
| 52 | CorrectionState.ReconstructionData where |
| 53 | exponent := ChartScales.radialExponent h |
| 54 | inner := a |
| 55 | outer := b |
| 56 | inner_lt_outer := hab |
| 57 | frequency := radialFrequency h index |
| 58 | radialDirection := TorusInverse.vector .radial |
| 59 | |
| 60 | noncomputable def operators (h : ℝ) (index : ℕ → ℕ) (a b : ℝ) (hab : a < b) : |
| 61 | MeanIncrementBounds.Operators Point := |
| 62 | CorrectionState.graphOperators (reconstruction h index a b hab) (ChartScales.epsilon h) |
| 63 | (fastCoefficient h index) ((0,1),0) ((1,0),0) (TorusInverse.vector .temporal) |
| 64 | |
| 65 | theorem operators_match_physical (h : ℝ) (index : ℕ → ℕ) (a b : ℝ) (hab : a < b) (n : ℕ) : |
| 66 | PhysicalResidualTZ.MatchesAtTZ (operators h index a b hab) |
| 67 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) h (index n)) n := by |
| 68 | constructor <;> rfl |
| 69 | |
| 70 | theorem operator_bounds {h : ℝ} (hh : 0 ≤ h) (U : LocalSignedRequest.SlowRegion (2*h)) |
| 71 | {index : ℕ → ℕ} (hi : ∀ n, index n ≤ ChartScales.nativeIndex h n) |
| 72 | {a b cL cR : ℝ} (ha : 0 < a) (hab : a < b) (hcL : 0 < cL) (hcR : 0 < cR) : |
| 73 | MeanIncrementBounds.OperatorBounds (BaseContextAssembly.movingStrip hh U a b cL cR ha hcL hcR) |
| 74 | (operators h index a b hab) ChartScales.kappa := by |
| 75 | have hn := BaseContextAssembly.operator_bounds hh U ha hab hcL hcR |
| 76 | refine ⟨hn.epsilon_eq, hn.radialProfile, hn.invRadius, ?_, ?_, hn.kappa_nonneg, hn.weight_le_one⟩ |
| 77 | · obtain ⟨C, hC, p, hp⟩ := hn.radialFrequency |
| 78 | refine ⟨C, hC, p, fun n => ?_⟩ |
| 79 | apply le_trans _ (hp n) |
| 80 | change ‖radialFrequency h index n‖ ≤ ‖ChartScales.radialCoefficient h n‖ |
| 81 | rw [Real.norm_eq_abs, Real.norm_eq_abs, abs_of_pos (radialFrequency_pos h index n), |
| 82 | abs_of_pos (ChartScales.radialCoefficient_pos h n)] |
| 83 | exact radialFrequency_mono h (hi n) |
| 84 | · obtain ⟨C, hC, p, hp⟩ := hn.fastCoefficient |
| 85 | refine ⟨C, hC, p, fun n => ?_⟩ |
| 86 | apply le_trans _ (hp n) |
| 87 | change ‖fastCoefficient h index n‖ ≤ ‖ChartScales.timeCoefficient h n‖ |
| 88 | rw [Real.norm_eq_abs, Real.norm_eq_abs, abs_of_pos (fastCoefficient_pos h index n), |
| 89 | abs_of_pos (ChartScales.timeCoefficient_pos h n)] |
| 90 | exact fastCoefficient_mono h (hi n) |
| 91 | |
| 92 | section Cover |
| 93 | |
| 94 | /-- The forward integer covering on the full free auxiliary lift. -/ |
| 95 | noncomputable def coverLift (k : ℕ) : Point ≃L[ℝ] Point := |
| 96 | (ContinuousLinearEquiv.refl ℝ ℝ).prodCongr |
| 97 | ((ContinuousLinearEquiv.refl ℝ Plane).prodCongr (CommonCoverSolve.coverPower k)) |
| 98 | |
| 99 | @[simp] theorem coverLift_apply (k : ℕ) (x : Point) : |
| 100 | coverLift k x = (x.1, (x.2.1, CommonCoverSolve.coverPower k x.2.2)) := rfl |
| 101 | |
| 102 | @[simp] theorem coverLift_slow (k : ℕ) (x : Point) : |
| 103 | BaseContextAssembly.slowCoordinates (coverLift k x) = BaseContextAssembly.slowCoordinates x := rfl |
| 104 | |
| 105 | @[simp] theorem coverLift_eR (k : ℕ) : coverLift k (1,(0,0)) = (1,(0,0)) := by |
| 106 | simp only [coverLift_apply, map_zero] |
| 107 | |
| 108 | @[simp] theorem coverLift_eZ (k : ℕ) : coverLift k (0,((0,1),0)) = (0,((0,1),0)) := by |
| 109 | simp only [coverLift_apply, map_zero] |
| 110 | |
| 111 | @[simp] theorem coverLift_eT (k : ℕ) : coverLift k (0,((1,0),0)) = (0,((1,0),0)) := by |
| 112 | simp only [coverLift_apply, map_zero] |
| 113 | |
| 114 | theorem coverPower_radial (k : ℕ) : |
| 115 | CommonCoverSolve.coverPower k (TorusInverse.vector .radial) = |
| 116 | ChartScales.Lambda ^ k • TorusInverse.vector .radial := by |
| 117 | rw [CommonCoverSolve.coverPower_apply] |
| 118 | exact PhysicalGraphBounds.cover_pow_radialDirection k |
| 119 | |
| 120 | theorem coverPower_temporal (k : ℕ) : |
| 121 | CommonCoverSolve.coverPower k (TorusInverse.vector .temporal) = |
| 122 | ChartScales.Tg ^ k • TorusInverse.vector .temporal := by |
| 123 | rw [CommonCoverSolve.coverPower_apply] |
| 124 | exact PhysicalGraphBounds.cover_pow_timeDirection k |
| 125 | |
| 126 | noncomputable def pull {E : Type*} (gap : ℕ → ℕ) (f : ℕ → Point → E) (n : ℕ) (x : Point) : E := |
| 127 | f n (coverLift (gap n) x) |
| 128 | |
| 129 | end Cover |
| 130 | |
| 131 | section CoverClass |
| 132 | |
| 133 | variable {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 134 | (U : LocalSignedRequest.SlowRegion (2*F.data.h)) |
| 135 | |
| 136 | @[simp] theorem coverLift_mem (k : ℕ) (x : Point) : |
| 137 | coverLift k x ∈ (BaseContextAssembly.nativeStrip W U).domain ↔ |
| 138 | x ∈ (BaseContextAssembly.nativeStrip W U).domain := Iff.rfl |
| 139 | |
| 140 | @[simp] theorem coverLift_delta (k : ℕ) (x : Point) : |
| 141 | (BaseContextAssembly.nativeStrip W U).delta (coverLift k x) = |
| 142 | (BaseContextAssembly.nativeStrip W U).delta x := rfl |
| 143 | |
| 144 | @[simp] theorem coverLift_zeta (k : ℕ) (x : Point) : |
| 145 | (BaseContextAssembly.nativeStrip W U).zeta (coverLift k x) = |
| 146 | (BaseContextAssembly.nativeStrip W U).zeta x := rfl |
| 147 | |
| 148 | @[simp] theorem coverLift_growth (k n : ℕ) (x : Point) : |
| 149 | (BaseContextAssembly.nativeStrip W U).growth n (coverLift k x) = |
| 150 | (BaseContextAssembly.nativeStrip W U).growth n x := rfl |
| 151 | |
| 152 | end CoverClass |
| 153 | |
| 154 | section ActualContext |
| 155 | |
| 156 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 157 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 158 | (v : ModulatedProfileAssembly.Witness ld) (upper : ℝ) (B : ℕ) |
| 159 | |
| 160 | /-- Same actual base and stress; only the graph's integer index changes. -/ |
| 161 | noncomputable def context (index : ℕ → ℕ) : CorrectionState.Context Point := |
| 162 | { BaseContextAssembly.nativeContext H v upper B with |
| 163 | operators := operators F.data.h index (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) |
| 164 | (PrimaryTargetBounds.radii_ordered W) } |
| 165 | |
| 166 | @[simp] theorem context_base (index : ℕ → ℕ) : |
| 167 | (context H v upper B index).base = (BaseContextAssembly.nativeContext H v upper B).base := rfl |
| 168 | |
| 169 | @[simp] theorem context_virtualTheta (index : ℕ → ℕ) : |
| 170 | (context H v upper B index).virtualTheta = (BaseContextAssembly.nativeContext H v upper B).virtualTheta := rfl |
| 171 | |
| 172 | @[simp] theorem context_virtualAxial (index : ℕ → ℕ) : |
| 173 | (context H v upper B index).virtualAxial = (BaseContextAssembly.nativeContext H v upper B).virtualAxial := rfl |
| 174 | |
| 175 | theorem context_operator_bounds (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) |
| 176 | {index : ℕ → ℕ} (hi : ∀ n, index n ≤ ChartScales.nativeIndex F.data.h n) : |
| 177 | MeanIncrementBounds.OperatorBounds (BaseContextAssembly.nativeStrip W U) |
| 178 | (context H v upper B index).operators ChartScales.kappa := |
| 179 | operator_bounds F.data.h_pos.le U hi (PrimaryTargetBounds.leftRadius_pos W) |
| 180 | (PrimaryTargetBounds.radii_ordered W) (div_pos (FinalSlowBase.edgeExponent_pos W) (by norm_num)) zero_lt_one |
| 181 | |
| 182 | theorem context_base_bounds (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (index : ℕ → ℕ) : |
| 183 | MeanIncrementBounds.BaseBounds (BaseContextAssembly.nativeStrip W U) (context H v upper B index).base := |
| 184 | BaseContextAssembly.native_base_bounds H v upper B U |
| 185 | |
| 186 | theorem context_base_smooth (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (index : ℕ → ℕ) : |
| 187 | MeanIncrementBounds.SmoothTriple (LocalRankDefect.positiveDomain U.carrier) (context H v upper B index).base := |
| 188 | BaseContextAssembly.native_base_smooth H v upper B U |
| 189 | |
| 190 | theorem context_operators_local (U : Set Plane) (index : ℕ → ℕ) : |
| 191 | LocalRankDefect.LocalOperators U (context H v upper B index).operators := by |
| 192 | have hn := BaseContextAssembly.native_operators_local H v upper B U |
| 193 | exact ⟨hn.radius_eq, hn.radialProfile⟩ |
| 194 | |
| 195 | theorem context_isSlow (U : Set Plane) (index : ℕ → ℕ) : |
| 196 | LocalRankDefect.IsSlowOn U (context H v upper B index).base.radial ∧ |
| 197 | LocalRankDefect.IsSlowOn U (context H v upper B index).base.angular ∧ |
| 198 | LocalRankDefect.IsSlowOn U (context H v upper B index).base.axial := |
| 199 | ⟨BaseContextAssembly.native_radial_isSlow H v upper B U, |
| 200 | BaseContextAssembly.native_angular_isSlow H v upper B U, |
| 201 | BaseContextAssembly.native_axial_isSlow H v upper B U⟩ |
| 202 | |
| 203 | theorem context_matches_physical (index : ℕ → ℕ) (n : ℕ) : |
| 204 | PhysicalResidualTZ.MatchesAtTZ (context H v upper B index).operators |
| 205 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) F.data.h (index n)) n := |
| 206 | operators_match_physical _ _ _ _ _ _ |
| 207 | |
| 208 | theorem context_radial_physical (index : ℕ → ℕ) (n : ℕ) (x : Point) : |
| 209 | (context H v upper B index).base.radial n x = ChartScales.Q n ^ CoordinateAlgebra.A F.data.h * |
| 210 | FinalSlowBase.velocity H v upper B (BaseContextAssembly.physicalPoint F.data.h n x) 0 := rfl |
| 211 | |
| 212 | theorem context_angular_physical (index : ℕ → ℕ) (n : ℕ) {x : Point} |
| 213 | (hT : 0 < x.2.1.1) (hR : 0 < x.1) : |
| 214 | (context H v upper B index).base.angular n x = ChartScales.Q n ^ CoordinateAlgebra.A F.data.h * |
| 215 | FinalSlowBase.velocity H v upper B (BaseContextAssembly.physicalPoint F.data.h n x) 1 := |
| 216 | BaseContextAssembly.angularBase_physical H v upper B n hT hR |
| 217 | |
| 218 | theorem context_axial_physical (index : ℕ → ℕ) (n : ℕ) {x : Point} (hT : 0 < x.2.1.1) : |
| 219 | (context H v upper B index).base.axial n x = ChartScales.Q n ^ CoordinateAlgebra.A F.data.h * |
| 220 | FinalSlowBase.velocity H v upper B (BaseContextAssembly.physicalPoint F.data.h n x) 2 := |
| 221 | BaseContextAssembly.axialBase_physical H v upper B n hT |
| 222 | |
| 223 | theorem context_stress_properties (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) |
| 224 | (index : ℕ → ℕ) (n : ℕ) : |
| 225 | ContDiffOn ℝ ∞ (fun x => ((context H v upper B index).virtualTheta n x, |
| 226 | (context H v upper B index).virtualAxial n x)) (PhysicalMeanDomain.slowDomain U.carrier) ∧ |
| 227 | PhysicalMeanDomain.PeriodicOn U.carrier ((context H v upper B index).virtualTheta n) ∧ |
| 228 | PhysicalMeanDomain.PeriodicOn U.carrier ((context H v upper B index).virtualAxial n) ∧ |
| 229 | LocalSignedRequest.MovingSupport (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) |
| 230 | (2 * F.data.h) U.carrier ((context H v upper B index).virtualTheta n) ∧ |
| 231 | LocalSignedRequest.MovingSupport (PrimaryTargetBounds.leftRadius W) (PrimaryTargetBounds.rightRadius W) |
| 232 | (2 * F.data.h) U.carrier ((context H v upper B index).virtualAxial n) := |
| 233 | BaseContextAssembly.native_stress_properties H v upper B U n |
| 234 | |
| 235 | theorem context_stress_classes (hcone : LeadingStressWeights.FullTrueCone v) |
| 236 | (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (index : ℕ → ℕ) : |
| 237 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 (context H v upper B index).virtualTheta ∧ |
| 238 | MeanClass (BaseContextAssembly.nativeStrip W U) 1 (context H v upper B index).virtualAxial := |
| 239 | BaseStressClasses.virtualStress_components H v hcone upper B U |
| 240 | |
| 241 | theorem context_higher_stress_classes (U : LocalSignedRequest.SlowRegion (2 * F.data.h)) (index : ℕ → ℕ) : |
| 242 | MeanClass (BaseContextAssembly.nativeStrip W U) 2 |
| 243 | (fun n x => (context H v upper B index).virtualTheta n x - |
| 244 | (BaseContextAssembly.leadingVirtualStress H v n x).1) ∧ |
| 245 | MeanClass (BaseContextAssembly.nativeStrip W U) 2 |
| 246 | (fun n x => (context H v upper B index).virtualAxial n x - |
| 247 | (BaseContextAssembly.leadingVirtualStress H v n x).2) := |
| 248 | BaseStressClasses.higherStress_components H v upper B U |
| 249 | |
| 250 | end ActualContext |
| 251 | |
| 252 | end NavierStokes.CommonBaseContext |