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.MeanStateRegularity |
| 2 | import NavierStokes.FiniteHeadClass |
| 3 | |
| 4 | /-! |
| 5 | # Weighted bounds for the literal signed cross-covariance defect |
| 6 | |
| 7 | The covariance class follows from the actual supported harmonic families. |
| 8 | The requested moving stress preserves the residual class. Their difference |
| 9 | is retained on every band; only the supplied tail identity makes it vanish. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.SignedCrossDefectClass |
| 15 | |
| 16 | open Set WeightedClasses MeanIncrementBounds CorrectionState SignedMeanGain LabelSumBounds |
| 17 | open scoped ContDiff BigOperators |
| 18 | |
| 19 | abbrev Point := SignedMeanGain.Point |
| 20 | |
| 21 | section Family |
| 22 | |
| 23 | variable {D ι : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 24 | {s : StripData D} {P : ι → ℕ → D → ℝ} {α δ β η : ℝ} |
| 25 | |
| 26 | /-- The primary coefficient bound is recovered from the old coefficient |
| 27 | and the actual old-minus-primary bound in `SignedFamily`. -/ |
| 28 | theorem primary_bounds (f : SignedFamily s P α δ β η) (hαδ : α ≤ δ) : |
| 29 | ∀ i j, UniformWaveClass s P α (fun l n x => (f.primary l).velocity n i j x) := by |
| 30 | intro i j |
| 31 | apply ((f.old_bounds i j).sub ((f.difference_bounds i j).mono_exponent hαδ)).congr |
| 32 | intro l n x _ |
| 33 | exact sub_sub_cancel _ _ |
| 34 | |
| 35 | /-- The actual covariance of the two assembled fields has the sum of |
| 36 | their exponents. Native support eliminates cross-label products. -/ |
| 37 | theorem crossTensor_mem (f : SignedFamily s P α δ β η) (a : Assembly f) |
| 38 | (hαδ : α ≤ δ) : TensorClass s (α + β) (crossTensor f a) := by |
| 39 | have hcarrier (l : ι) : SameCarrier (f.primary l) (f.tangent l) := |
| 40 | ⟨(f.tangent_carrier l).frequency.trans (f.primary_carrier l).frequency.symm, |
| 41 | (f.tangent_carrier l).phase.trans (f.primary_carrier l).phase.symm, |
| 42 | (f.tangent_carrier l).angular.trans (f.primary_carrier l).angular.symm⟩ |
| 43 | have hangular (l : ι) (n : ℕ) : (f.primary l).angularFrequency n ≠ 0 := by |
| 44 | rw [(f.primary_carrier l).angular] |
| 45 | exact f.angular_ne_zero l n |
| 46 | have hb (i j : Fin 3) : MeanClass s (α + β) |
| 47 | (bilinearCovariance (primaryField f a) (tangentField f a) i j) := |
| 48 | harmonic_covariance_sum_mem a.labels a.label a.injective a.level |
| 49 | a.window a.window_continuous a.auxiliary f.primary f.tangent f.bandwidth |
| 50 | f.primary_band (fun l => (hcarrier l).frequency) (fun l => (hcarrier l).phase) |
| 51 | (fun l => (hcarrier l).angular) (primary_bounds f hαδ) f.tangent_bounds |
| 52 | f.envelope_nonneg f.envelope_le_one hangular a.primary_support a.tangent_support i j |
| 53 | intro i j |
| 54 | change MeanClass s (α + β) |
| 55 | (bilinearCovariance (primaryField f a) (tangentField f a) i j + |
| 56 | bilinearCovariance (tangentField f a) (primaryField f a) i j) |
| 57 | rw [bilinearCovariance_comm (tangentField f a) (primaryField f a) i j] |
| 58 | exact (hb i j).add (hb j i) |
| 59 | |
| 60 | end Family |
| 61 | |
| 62 | /-- The actual moving primitive retains the exact radial weight and |
| 63 | costs no band exponent. -/ |
| 64 | theorem physicalSigma_mem (G : Geometry) (e : ℕ) {r : MeanIncrementBounds.Field Point} {α : ℝ} |
| 65 | (hr : SmoothOn G.domain r) |
| 66 | (hs : ∀ n, LocalSignedRequest.MovingSupport G.patch.a G.patch.b G.coord G.region.carrier (r n)) |
| 67 | (hc : MeanClass G.strip α r) : MeanClass G.strip α (physicalSigma G e r) := |
| 68 | LocalSignedRequest.meanClass_physicalBarSigma G.region G.patch e G.left_pos G.right_pos |
| 69 | G.epsilon G.slow G.epsilon_pos G.epsilon_le_one G.slow_ge_one hr hs hc |
| 70 | |
| 71 | /-- A baseline class for the literal cross defect. There is no covariance |
| 72 | cancellation hypothesis, either on the initial bands or on the tail. -/ |
| 73 | theorem defect_mem (G : Geometry) {ι : Type} {P : ι → ℕ → Point → ℝ} |
| 74 | {α δ β η : ℝ} (f : SignedFamily G.strip P α δ β η) (a : Assembly f) |
| 75 | (hαδ : α ≤ δ) (i j : Fin 3) (e : ℕ) (r : MeanIncrementBounds.Field Point) |
| 76 | (hS : SmoothOn G.domain (crossTensor f a i j)) |
| 77 | (hr : SmoothOn G.domain r) |
| 78 | (hs : ∀ n, LocalSignedRequest.MovingSupport G.patch.a G.patch.b G.coord G.region.carrier (r n)) |
| 79 | (hc : MeanClass G.strip (α + β) r) : |
| 80 | MeanClass G.strip (α + β) |
| 81 | (StateMomentBalances.meanBar (crossTensor f a i j) - physicalSigma G e r) := |
| 82 | Class.sub (G.average_mem hS (crossTensor_mem f a hαδ i j)) (physicalSigma_mem G e hr hs hc) |
| 83 | |
| 84 | /-- The same fixed finite-head cutoff yields every exponent. The only |
| 85 | equality premise is the actual covariance identity on the tail. -/ |
| 86 | theorem defect_all_exponents (G : Geometry) {ι : Type} {P : ι → ℕ → Point → ℝ} |
| 87 | {α δ β η : ℝ} (f : SignedFamily G.strip P α δ β η) (a : Assembly f) |
| 88 | (hαδ : α ≤ δ) (i j : Fin 3) (e : ℕ) (r : MeanIncrementBounds.Field Point) |
| 89 | (hS : SmoothOn G.domain (crossTensor f a i j)) |
| 90 | (hr : SmoothOn G.domain r) |
| 91 | (hs : ∀ n, LocalSignedRequest.MovingSupport G.patch.a G.patch.b G.coord G.region.carrier (r n)) |
| 92 | (hc : MeanClass G.strip (α + β) r) (N : ℕ) |
| 93 | (htail : ∀ n, N ≤ n → ∀ x ∈ G.strip.domain, |
| 94 | StateMomentBalances.meanBar (crossTensor f a i j) n x = physicalSigma G e r n x) : |
| 95 | ∀ γ : ℝ, MeanClass G.strip γ |
| 96 | (StateMomentBalances.meanBar (crossTensor f a i j) - physicalSigma G e r) := by |
| 97 | apply FiniteHeadClass.meanClass_all_exponents (defect_mem G f a hαδ i j e r hS hr hs hc) N |
| 98 | intro n hn x hx |
| 99 | simp only [Pi.sub_apply, htail n hn x hx, sub_self] |
| 100 | |
| 101 | /-- Specialization to the exponents of the actual signed step. -/ |
| 102 | theorem actual_defect_mem (G : Geometry) {ι : Type} {P : ι → ℕ → Point → ℝ} |
| 103 | {σ κ : ℝ} (f : SignedFamily G.strip P (1 / 2) (17 / 25) |
| 104 | (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : Assembly f) |
| 105 | (i j : Fin 3) (e : ℕ) (r : MeanIncrementBounds.Field Point) |
| 106 | (hS : SmoothOn G.domain (crossTensor f a i j)) |
| 107 | (hr : MovingField G r) (hc : MeanClass G.strip (1 + σ - κ) r) : |
| 108 | MeanClass G.strip (1 + σ - κ) |
| 109 | (StateMomentBalances.meanBar (crossTensor f a i j) - physicalSigma G e r) := by |
| 110 | have he : (1 / 2 : ℝ) + (1 / 2 + σ - κ) = 1 + σ - κ := by ring |
| 111 | have hc' : MeanClass G.strip ((1 / 2 : ℝ) + (1 / 2 + σ - κ)) r := by |
| 112 | simpa only [he] using hc |
| 113 | simpa only [he] using defect_mem G f a (by norm_num) i j e r hS hr.smooth |
| 114 | (MeanStateRegularity.MovingField.movingSupport hr) hc' |
| 115 | |
| 116 | /-- Both literal defects of the signed mean update have the baseline |
| 117 | residual exponent, with no discarded initial bands. -/ |
| 118 | theorem residual_defects_mem (G : Geometry) (c : Context Point) (u : State Point) |
| 119 | {ι : Type} {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} |
| 120 | (f : SignedFamily G.strip P (1 / 2) (17 / 25) |
| 121 | (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : Assembly f) |
| 122 | (hS : ∀ i j, MovingField G (crossTensor f a i j)) |
| 123 | (hθreg : MovingField G (u.thetaResidual c)) |
| 124 | (hzreg : MovingField G (u.axialResidual c)) |
| 125 | (hθ : MeanClass G.strip (1 + σ - κ) (u.thetaResidual c)) |
| 126 | (hz : MeanClass G.strip (1 + σ - κ) (u.axialResidual c)) : |
| 127 | MeanClass G.strip (1 + σ - κ) |
| 128 | (StateMomentBalances.meanBar (crossTensor f a 0 1) - physicalSigma G 2 (u.thetaResidual c)) ∧ |
| 129 | MeanClass G.strip (1 + σ - κ) |
| 130 | (StateMomentBalances.meanBar (crossTensor f a 0 2) - physicalSigma G 1 (u.axialResidual c)) := |
| 131 | ⟨actual_defect_mem G f a 0 1 2 _ (hS 0 1).smooth hθreg hθ, |
| 132 | actual_defect_mem G f a 0 2 1 _ (hS 0 2).smooth hzreg hz⟩ |
| 133 | |
| 134 | /-- The requested-stress identity is required only for bands `n ≥ N`. |
| 135 | The literal defects remain present on all earlier bands, in every class. -/ |
| 136 | theorem residual_defects_all_exponents (G : Geometry) (c : Context Point) (u : State Point) |
| 137 | {ι : Type} {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} |
| 138 | (f : SignedFamily G.strip P (1 / 2) (17 / 25) |
| 139 | (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : Assembly f) |
| 140 | (hS : ∀ i j, MovingField G (crossTensor f a i j)) |
| 141 | (hθreg : MovingField G (u.thetaResidual c)) |
| 142 | (hzreg : MovingField G (u.axialResidual c)) |
| 143 | (hθ : MeanClass G.strip (1 + σ - κ) (u.thetaResidual c)) |
| 144 | (hz : MeanClass G.strip (1 + σ - κ) (u.axialResidual c)) (N : ℕ) |
| 145 | (htail : ∀ n, N ≤ n → ∀ x ∈ G.strip.domain, ∀ i : Fin 2, |
| 146 | StateMomentBalances.meanBar (crossTensor f a 0 i.succ) n x = |
| 147 | LocalSignedRequest.requestedStress G.patch G.coord c u n x i) : |
| 148 | ∀ γ : ℝ, |
| 149 | MeanClass G.strip γ |
| 150 | (StateMomentBalances.meanBar (crossTensor f a 0 1) - physicalSigma G 2 (u.thetaResidual c)) ∧ |
| 151 | MeanClass G.strip γ |
| 152 | (StateMomentBalances.meanBar (crossTensor f a 0 2) - physicalSigma G 1 (u.axialResidual c)) := by |
| 153 | obtain ⟨hbaseθ, hbasez⟩ := residual_defects_mem G c u f a hS hθreg hzreg hθ hz |
| 154 | have hzeroθ : ∀ n, N ≤ n → ∀ x ∈ G.strip.domain, |
| 155 | (StateMomentBalances.meanBar (crossTensor f a 0 1) - physicalSigma G 2 (u.thetaResidual c)) n x = 0 := by |
| 156 | intro n hn x hx |
| 157 | have he := htail n hn x hx 0 |
| 158 | change StateMomentBalances.meanBar (crossTensor f a 0 1) n x = |
| 159 | physicalSigma G 2 (u.thetaResidual c) n x at he |
| 160 | exact sub_eq_zero.mpr he |
| 161 | have hzeroz : ∀ n, N ≤ n → ∀ x ∈ G.strip.domain, |
| 162 | (StateMomentBalances.meanBar (crossTensor f a 0 2) - physicalSigma G 1 (u.axialResidual c)) n x = 0 := by |
| 163 | intro n hn x hx |
| 164 | have he := htail n hn x hx 1 |
| 165 | change StateMomentBalances.meanBar (crossTensor f a 0 2) n x = |
| 166 | physicalSigma G 1 (u.axialResidual c) n x at he |
| 167 | exact sub_eq_zero.mpr he |
| 168 | exact fun γ => ⟨FiniteHeadClass.meanClass_all_exponents hbaseθ N hzeroθ γ, |
| 169 | FiniteHeadClass.meanClass_all_exponents hbasez N hzeroz γ⟩ |
| 170 | |
| 171 | /-- Primitive incoming fields and the actual reconstructed pressure give |
| 172 | the residual regularity needed by the preceding theorem. -/ |
| 173 | theorem residual_defects_all_exponents_of_primitive |
| 174 | (G : Geometry) (c : Context Point) (u : State Point) |
| 175 | {ι : Type} {P : ι → ℕ → Point → ℝ} {σ κ : ℝ} |
| 176 | (f : SignedFamily G.strip P (1 / 2) (17 / 25) |
| 177 | (1 / 2 + σ - κ) (1 + σ - 2 * κ)) (a : Assembly f) |
| 178 | (hS : ∀ i j, MovingField G (crossTensor f a i j)) |
| 179 | (H : MeanStateRegularity.PrimitiveData G.region G.patch.a G.patch.b c u) |
| 180 | (hfixed : (VariableGaugeMean.reconstructState G.gauge c u).pressure = u.pressure) |
| 181 | (hθ : MeanClass G.strip (1 + σ - κ) (u.thetaResidual c)) |
| 182 | (hz : MeanClass G.strip (1 + σ - κ) (u.axialResidual c)) (N : ℕ) |
| 183 | (htail : ∀ n, N ≤ n → ∀ x ∈ G.strip.domain, ∀ i : Fin 2, |
| 184 | StateMomentBalances.meanBar (crossTensor f a 0 i.succ) n x = |
| 185 | LocalSignedRequest.requestedStress G.patch G.coord c u n x i) : |
| 186 | ∀ γ : ℝ, |
| 187 | MeanClass G.strip γ |
| 188 | (StateMomentBalances.meanBar (crossTensor f a 0 1) - physicalSigma G 2 (u.thetaResidual c)) ∧ |
| 189 | MeanClass G.strip γ |
| 190 | (StateMomentBalances.meanBar (crossTensor f a 0 2) - physicalSigma G 1 (u.axialResidual c)) := by |
| 191 | have Hg : MeanStateRegularity.PrimitiveData G.region G.gauge.radial.inner G.gauge.radial.outer c u := by |
| 192 | simpa only [G.inner_eq, G.outer_eq] using H |
| 193 | have hθreg : MovingField G (u.thetaResidual c) := H.theta G.patch.a_pos G.patch.a_lt_b |
| 194 | have hzreg : MovingField G (u.axialResidual c) := by |
| 195 | have he := Hg.axial_reconstructed G.inner_pos G.exponent_pos G.length_eq hfixed |
| 196 | simp only [G.inner_eq, G.outer_eq] at he |
| 197 | exact he |
| 198 | exact residual_defects_all_exponents G c u f a hS hθreg hzreg hθ hz N htail |
| 199 | |
| 200 | end NavierStokes.SignedCrossDefectClass |