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.ActualParticularStageControls |
| 2 | import NavierStokes.PhysicalResidualNaturality |
| 3 | import NavierStokes.ActualInitialCoherence |
| 4 | import NavierStokes.SubcoverPeriodicity |
| 5 | |
| 6 | /-! |
| 7 | # Native reference data from the actual common-cover state |
| 8 | |
| 9 | The current state at the reference band still uses that band's common cover. |
| 10 | The reference Volterra geometry, on the other hand, uses the native cover. |
| 11 | This file changes the free auxiliary coordinate before forming the reference |
| 12 | source. The change acts on the entire current residual, including its |
| 13 | Gaussian and alias inputs. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace NavierStokes.ActualReferenceRebase |
| 19 | |
| 20 | open Set Function Filter WeightedClasses CorrectionState HarmonicFields HarmonicCalculus |
| 21 | open CommonCoverSolve TorusInverse PhysicalParticularWave |
| 22 | open scoped ContDiff Topology BigOperators ComplexConjugate |
| 23 | |
| 24 | |
| 25 | /-! ## Pullback of the actual state through an invertible linear map -/ |
| 26 | |
| 27 | section Pullback |
| 28 | |
| 29 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 30 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 31 | |
| 32 | noncomputable def pullCoefficients (e : D ≃L[ℝ] E) (a : Coefficients E) : Coefficients D := |
| 33 | AddMonoidAlgebra.ofCoeff (Finsupp.mapRange (fun f : E → ℂ => fun x => f (e x)) rfl a.coeff) |
| 34 | |
| 35 | @[simp] theorem pullCoefficients_apply (e : D ≃L[ℝ] E) (a : Coefficients E) |
| 36 | (j : ℤ) (x : D) : pullCoefficients e a j x = a j (e x) := rfl |
| 37 | |
| 38 | noncomputable def pullWave (e : D ≃L[ℝ] E) (a : LinearWaveBounds.WaveCoefficients E) : |
| 39 | LinearWaveBounds.WaveCoefficients D where |
| 40 | radius n x := a.radius n (e x) |
| 41 | radialBase n x := a.radialBase n (e x) |
| 42 | frequencyBase n x := a.frequencyBase n (e x) |
| 43 | axialBase n x := a.axialBase n (e x) |
| 44 | phase n x := a.phase n (e x) |
| 45 | amplitude n x := a.amplitude n (e x) |
| 46 | pressure n x := a.pressure n (e x) |
| 47 | frequency := a.frequency |
| 48 | |
| 49 | noncomputable def pullDirections (e : D ≃L[ℝ] E) (d : LinearWaveBounds.GraphDirections E) : |
| 50 | LinearWaveBounds.GraphDirections D where |
| 51 | radial := e.symm d.radial |
| 52 | auxiliary := e.symm d.auxiliary |
| 53 | axial := e.symm d.axial |
| 54 | angular := e.symm d.angular |
| 55 | slow := e.symm d.slow |
| 56 | fast := e.symm d.fast |
| 57 | radialScale := d.radialScale |
| 58 | fastScale := d.fastScale |
| 59 | radialProfile x := d.radialProfile (e x) |
| 60 | |
| 61 | end Pullback |
| 62 | |
| 63 | /-! ## A separate, genuine native-reference assembly -/ |
| 64 | |
| 65 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 66 | |
| 67 | noncomputable def inverseCover (k : ℕ) : (P × Plane) ≃L[ℝ] (P × Plane) := |
| 68 | (ContinuousLinearEquiv.refl ℝ P).prodCongr (coverPower k).symm |
| 69 | |
| 70 | @[simp] theorem inverseCover_apply (k : ℕ) (x : P × Plane) : |
| 71 | inverseCover k x = (x.1, (coverPower k).symm x.2) := rfl |
| 72 | |
| 73 | @[simp] theorem inverseCover_symm_apply (k : ℕ) (x : P × Plane) : |
| 74 | (inverseCover (P := P) k).symm x = (x.1, coverPower k x.2) := rfl |
| 75 | |
| 76 | /-! ## Binding to the one actual initializer choice and current cycle state -/ |
| 77 | |
| 78 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 79 | |
| 80 | variable {B N0 : ℕ} |
| 81 | |
| 82 | /-! The native reference has its own actual frame and phase. -/ |
| 83 | |
| 84 | @[simp] theorem associatedToLift_symm_apply (z : PhysicalResidualNaturality.Lift) : |
| 85 | PhysicalResidualNaturality.associatedToLift.symm z = |
| 86 | ((z.1, (z.2.1.2, z.2.1.1)), z.2.2) := rfl |
| 87 | |
| 88 | @[simp] theorem cycleAssoc_apply (z : CorrectionStep.CyclePoint) : |
| 89 | CorrectionStep.cycleAssoc z = ((z.1, z.2.1), z.2.2) := rfl |
| 90 | |
| 91 | @[simp] theorem cycleAssoc_symm_apply (z : PhysicalResidualNaturality.Associated) : |
| 92 | CorrectionStep.cycleAssoc.symm z = (z.1.1, (z.1.2, z.2)) := rfl |
| 93 | |
| 94 | theorem associatedContext_frame (B n : ℕ) : |
| 95 | HarmonicResidual.contextFrame (ActualParticularStageControls.associatedContext (B := B)) n = |
| 96 | PhysicalResidualNaturality.associatedFrame h (ChartScales.Q n) (CommonWindow.index h n) := by |
| 97 | rw [ActualParticularStageControls.associatedContext, StateReindex.contextFrame_pull] |
| 98 | unfold StateReindex.frame StateReindex.vector ParticularWaveBounds.reindexVector |
| 99 | PhysicalResidualNaturality.associatedFrame PhysicalResidualNaturality.commonFrame |
| 100 | congr 1 |
| 101 | · funext x |
| 102 | simp [HarmonicResidual.contextFrame, commonContext, CommonBaseContext.context, |
| 103 | CommonBaseContext.operators, CorrectionState.graphOperators, CommonBaseContext.reconstruction, |
| 104 | CommonBaseContext.radialFrequency, PhysicalResidualBridge.ScaledGraph.radial, |
| 105 | PhysicalResidualBridge.commonGraph, GraphCalculus.radialSpeed, RadialPullback.radialJacobian, PhysicalGraphBounds.radialDirection, TorusInverse.vector, StateReindex.vector, ParticularWaveBounds.reindexVector, |
| 106 | PhysicalResidualNaturality.associatedToLift_apply] |
| 107 | rfl |
| 108 | · funext x |
| 109 | simp [HarmonicResidual.contextFrame, commonContext, CommonBaseContext.context, |
| 110 | CommonBaseContext.operators, CorrectionState.graphOperators, ChartScales.epsilon, |
| 111 | PhysicalResidualBridge.ScaledGraph.axial, PhysicalResidualBridge.commonGraph, StateReindex.vector, ParticularWaveBounds.reindexVector] |
| 112 | · funext x |
| 113 | simp [HarmonicResidual.contextFrame, commonContext, CommonBaseContext.context, |
| 114 | CommonBaseContext.operators, CorrectionState.graphOperators, CommonBaseContext.fastCoefficient, |
| 115 | PhysicalResidualBridge.ScaledGraph.temporal, PhysicalResidualBridge.commonGraph, StateReindex.vector, ParticularWaveBounds.reindexVector, |
| 116 | PhysicalGraphBounds.timeDirection, TorusInverse.vector, ChartScales.epsilon] |
| 117 | |
| 118 | theorem ratioPower_self {Q : ℝ} (hQ : 0 < Q) (a : ℝ) : ratioPower Q Q a = 1 := |
| 119 | div_self (Real.rpow_pos_of_pos hQ a).ne' |
| 120 | |
| 121 | /-! ## Dependence of a copy solve on one complete parameter fiber -/ |
| 122 | |
| 123 | section FiberLocality |
| 124 | |
| 125 | open ParticularWaveBounds |
| 126 | |
| 127 | variable {Q : Type} [NormedAddCommGroup Q] [NormedSpace ℝ Q] |
| 128 | |
| 129 | omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 130 | theorem real_copySolve_source_congr (t : TangentData Q ProblemStatement.Space) |
| 131 | (f g : Q × Plane → ComplexVector) (G : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 132 | (q : Q) (hf : ∀ Y, f (q,Y) = g (q,Y)) (copy : Frequency) (Y : Plane) : |
| 133 | (realData t f).linearData.copySolve G hab copy (q,Y) = |
| 134 | (realData t g).linearData.copySolve G hab copy (q,Y) := by |
| 135 | apply CopySolveCompatibility.anchoredSolve_eq_of_sameInputs |
| 136 | refine ⟨fun _ => rfl, ?_⟩ |
| 137 | intro z Z |
| 138 | change t.linearData.forcingMap (q,z) (realPart (f (q,Z))) = |
| 139 | t.linearData.forcingMap (q,z) (realPart (g (q,Z))) |
| 140 | rw [hf Z] |
| 141 | |
| 142 | omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 143 | theorem imag_copySolve_source_congr (t : TangentData Q ProblemStatement.Space) |
| 144 | (f g : Q × Plane → ComplexVector) (G : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 145 | (q : Q) (hf : ∀ Y, f (q,Y) = g (q,Y)) (copy : Frequency) (Y : Plane) : |
| 146 | (imagData t f).linearData.copySolve G hab copy (q,Y) = |
| 147 | (imagData t g).linearData.copySolve G hab copy (q,Y) := by |
| 148 | apply CopySolveCompatibility.anchoredSolve_eq_of_sameInputs |
| 149 | refine ⟨fun _ => rfl, ?_⟩ |
| 150 | intro z Z |
| 151 | change t.linearData.forcingMap (q,z) (imagPart (f (q,Z))) = |
| 152 | t.linearData.forcingMap (q,z) (imagPart (g (q,Z))) |
| 153 | rw [hf Z] |
| 154 | |
| 155 | omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 156 | theorem copyVelocity_source_congr (t : TangentData Q ProblemStatement.Space) |
| 157 | (f g : Q × Plane → ComplexVector) (G : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 158 | (q : Q) (hf : ∀ Y, f (q,Y) = g (q,Y)) (copy : Frequency) (Y : Plane) : |
| 159 | complexCopyVelocity t f G hab copy (q,Y) = complexCopyVelocity t g G hab copy (q,Y) := by |
| 160 | simp only [complexCopyVelocity, copyVelocity, real_copySolve_source_congr t f g G hab q hf, |
| 161 | imag_copySolve_source_congr t f g G hab q hf] |
| 162 | |
| 163 | omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 164 | theorem copyPressure_source_congr (t : TangentData Q ProblemStatement.Space) |
| 165 | (f g : Q × Plane → ComplexVector) (G : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 166 | (q : Q) (hf : ∀ Y, f (q,Y) = g (q,Y)) (copy : Frequency) (K : ℝ) (Y : Plane) : |
| 167 | complexCopyPressure t f G hab copy K (q,Y) = complexCopyPressure t g G hab copy K (q,Y) := by |
| 168 | simp only [complexCopyPressure, copyPressure, copyPressureReal, |
| 169 | real_copySolve_source_congr t f g G hab q hf, |
| 170 | imag_copySolve_source_congr t f g G hab q hf] |
| 171 | simp only [realData, imagData, hf Y] |
| 172 | |
| 173 | omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 174 | theorem commonVelocity_source_congr (t : TangentData Q ProblemStatement.Space) |
| 175 | (f g : Q × Plane → ComplexVector) (G : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 176 | (cutoff : Plane → ℝ) (q : Q) (hf : ∀ Y, f (q,Y) = g (q,Y)) (Y : Plane) : |
| 177 | ParticularWaveBounds.commonVelocity t f G hab cutoff (q,Y) = |
| 178 | ParticularWaveBounds.commonVelocity t g G hab cutoff (q,Y) := by |
| 179 | apply tsum_congr |
| 180 | intro copy |
| 181 | exact congrArg (fun v => cutoff (G.coordinates copy Y) • v) |
| 182 | (copyVelocity_source_congr t f g G hab q hf copy Y) |
| 183 | |
| 184 | omit [NormedAddCommGroup Q] [NormedSpace ℝ Q] in |
| 185 | theorem commonPressure_source_congr (t : TangentData Q ProblemStatement.Space) |
| 186 | (f g : Q × Plane → ComplexVector) (G : Geometry) {a b : ℝ} (hab : a ≤ b) |
| 187 | (cutoff : Plane → ℝ) (K : ℝ) (q : Q) (hf : ∀ Y, f (q,Y) = g (q,Y)) (Y : Plane) : |
| 188 | ParticularWaveBounds.commonPressure t f G hab cutoff K (q,Y) = |
| 189 | ParticularWaveBounds.commonPressure t g G hab cutoff K (q,Y) := by |
| 190 | apply tsum_congr |
| 191 | intro copy |
| 192 | exact congrArg (fun v => cutoff (G.coordinates copy Y) • v) |
| 193 | (copyPressure_source_congr t f g G hab q hf copy K Y) |
| 194 | |
| 195 | end FiberLocality |
| 196 | |
| 197 | /-! ## Actual common-band comparison, without truncated reverse gaps -/ |
| 198 | |
| 199 | noncomputable def commonReferenceChart (l : ActualParticularStageControls.Label B N0) (n : ℕ) : |
| 200 | PhysicalResidualNaturality.Associated ≃L[ℝ] PhysicalResidualNaturality.Associated := |
| 201 | (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) |
| 202 | (ChartScales.Q_pos (BaseChartJets.cellBand l.2)) (ActualParticularStageControls.gap l n)).trans |
| 203 | (inverseCover (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))) |
| 204 | |
| 205 | @[simp] theorem commonReferenceChart_apply (l : ActualParticularStageControls.Label B N0) |
| 206 | (n : ℕ) (z : PhysicalResidualNaturality.Associated) : |
| 207 | commonReferenceChart l n z = |
| 208 | (parameterChange h (ChartScales.Q n) (ChartScales.Q (BaseChartJets.cellBand l.2)) z.1, |
| 209 | (coverPower (ActualParticularStageControls.gap l (BaseChartJets.cellBand l.2))).symm |
| 210 | (coverPower (ActualParticularStageControls.gap l n) z.2)) := rfl |
| 211 | |
| 212 | theorem associatedChart_stateChart (n m k : ℕ) (z : PhysicalResidualNaturality.Associated) : |
| 213 | CorrectionStep.cycleAssoc.symm |
| 214 | (PhysicalResidualNaturality.associatedChart h (ChartScales.Q_pos n) (ChartScales.Q_pos m) k z) = |
| 215 | GaugeStateCoherence.bandChartEquiv h n m k (CorrectionStep.cycleAssoc.symm z) := by |
| 216 | simp only [PhysicalResidualNaturality.associatedChart_apply, cycleAssoc_symm_apply, |
| 217 | GaugeStateCoherence.bandChartEquiv_apply, GaugeStateCoherence.bandSlowEquiv_apply, |
| 218 | MeanChartCompatibility.coverMap_eq_coverPower, GaugeStateCoherence.bandScale_eq_ratioPower, |
| 219 | parameterChange, ratioPower, Real.rpow_one, |
| 220 | Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le] |
| 221 | |
| 222 | theorem assembly_source |
| 223 | (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 224 | (l : ActualParticularStageControls.Label B N0) (j : ℤ) (n : ℕ) |
| 225 | (z : PhysicalResidualNaturality.Associated) : |
| 226 | ParticularWaveAssembly.residualSource (ActualParticularStageControls.assembly x l).context |
| 227 | (ActualParticularStageControls.assembly x l).state (ActualParticularStageControls.assembly x l).carrierBlock |
| 228 | (ActualParticularStageControls.assembly x l).gaussianInput (ActualParticularStageControls.assembly x l).aliasInput |
| 229 | j n z = ParticularWaveAssembly.residualSource (commonContext B) x.state |
| 230 | (x.coefficients.blocks l) (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) |
| 231 | j n (CorrectionStep.cycleAssoc.symm z) := by |
| 232 | funext i |
| 233 | exact congrArg (fun b => b.velocity n i j z) |
| 234 | (StateReindex.residualBlock_pull CorrectionStep.cycleAssoc.symm (commonContext B) x.state |
| 235 | (x.coefficients.blocks l) (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l)) |
| 236 | |
| 237 | theorem state_sourceWeight (n m : ℕ) : |
| 238 | GaugeStateCoherence.bandVelocityScale h n m * GaugeStateCoherence.bandVelocityScale h n m * |
| 239 | GaugeStateCoherence.bandScale n m = sourceWeight h (ChartScales.Q n) (ChartScales.Q m) := by |
| 240 | simpa only [GaugeStateCoherence.bandVelocityScale_eq_ratioPower, |
| 241 | GaugeStateCoherence.bandScale_eq_ratioPower, velocityWeight] using |
| 242 | PhysicalResidualNaturality.weight_source (ChartScales.Q_pos n) (ChartScales.Q_pos m) h |
| 243 | |
| 244 | /-! The reference operator identities hold on the entire free lift. -/ |
| 245 | |
| 246 | noncomputable def angleEmbed (v : PhysicalResidualNaturality.Associated) : WaveSpace := |
| 247 | ((v.1, 0), v.2) |
| 248 | |
| 249 | theorem associatedDirections_radial (B n : ℕ) (z : WaveSpace) : |
| 250 | (ActualParticularStageControls.directions (B := B)).radialField n z = |
| 251 | angleEmbed ((HarmonicResidual.contextFrame |
| 252 | (ActualParticularStageControls.associatedContext (B := B)) n).radial (z.1.1,z.2)) := by |
| 253 | simp only [ActualParticularStageControls.directions, ParticularWaveBounds.reindex_radialField, |
| 254 | PrimaryResidualClass.directions_radial, ActualParticularStageControls.associatedContext, |
| 255 | StateReindex.contextFrame_pull, ParticularWaveBounds.reindexVector, |
| 256 | HarmonicResidual.liftDirection, StateReindex.frame, StateReindex.vector] |
| 257 | rfl |
| 258 | |
| 259 | theorem associatedDirections_axial (B n : ℕ) (z : WaveSpace) : |
| 260 | (ActualParticularStageControls.directions (B := B)).axialField |
| 261 | (CorrectionStep.ParticularParameters.nativeStrip ActualParticularStageControls.associatedStrip) n z = |
| 262 | angleEmbed ((HarmonicResidual.contextFrame |
| 263 | (ActualParticularStageControls.associatedContext (B := B)) n).axial (z.1.1,z.2)) := by |
| 264 | change (ChartScales.Q n ^ h) • |
| 265 | (ActualParticularStageControls.nativeToFull.symm ((commonContext B).operators.eZ,0)) = _ |
| 266 | rw [← LinearIsometryEquiv.map_smul] |
| 267 | simp only [Prod.smul_mk, smul_zero] |
| 268 | rfl |
| 269 | |
| 270 | /-! ## Reverse index order and the original recurrence interface -/ |
| 271 | |
| 272 | abbrev StateComparison (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 273 | (V : Set Plane) (n m k : ℕ) : Prop := |
| 274 | PhysicalResidualNaturality.StateOn (PhysicalMeanDomain.slowDomain V) |
| 275 | (GaugeStateCoherence.bandChartEquiv h n m k) (GaugeStateCoherence.bandVelocityScale h n m) |
| 276 | (GaugeStateCoherence.bandScale n m) x.state x.state n m |
| 277 | |
| 278 | abbrev BlockComparison (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 279 | (l : ActualParticularStageControls.Label B N0) (V : Set Plane) (n m k : ℕ) : Prop := |
| 280 | PhysicalResidualNaturality.BlockFieldsOn (PhysicalMeanDomain.slowDomain V) |
| 281 | (GaugeStateCoherence.bandChartEquiv h n m k) (GaugeStateCoherence.bandVelocityScale h n m) |
| 282 | (GaugeStateCoherence.bandScale n m) (x.coefficients.blocks l) (x.coefficients.blocks l) |
| 283 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) |
| 284 | (x.coefficients.gaussian l) (x.coefficients.aliasCoefficients l) n m |
| 285 | |
| 286 | /-! ## Regularity and support are transported, not postulated anew -/ |
| 287 | |
| 288 | /-! ## The unchanged target solve uses this native reference -/ |
| 289 | |
| 290 | /-- The literal current-source common coefficient in the actual stage. -/ |
| 291 | noncomputable def actualCoefficients |
| 292 | (x : CorrectionStep.CycleState (ActualParticularStageControls.Label B N0)) |
| 293 | (l : ActualParticularStageControls.Label B N0) (j : ℤ) : LinearWaveBounds.WaveCoefficients WaveSpace := |
| 294 | ((ActualParticularStageControls.parameters x l).copyData |
| 295 | (ActualParticularStageControls.assembly x l).context (ActualParticularStageControls.assembly x l).state |
| 296 | (ActualParticularStageControls.assembly x l).carrierBlock |
| 297 | (ActualParticularStageControls.assembly x l).gaussianInput |
| 298 | (ActualParticularStageControls.assembly x l).aliasInput j).common |
| 299 | |
| 300 | /-! The full carrier uses the same rebase, including the angular integer. -/ |
| 301 | |
| 302 | theorem carrier_phase_rebase {K Kr J a theta phi psi : ℝ} |
| 303 | (hK : K ≠ 0) (hKr : Kr ≠ 0) (hJ : J ≠ 0) (hphi : K * phi = Kr * psi) : |
| 304 | (J * Kr) / (J * K) * (psi + a / Kr * theta) = phi + a / K * theta := by |
| 305 | have he : (Kr / K) * psi = phi := by |
| 306 | rw [div_mul_eq_mul_div] |
| 307 | exact (div_eq_iff hK).2 (by simpa only [mul_comm] using hphi.symm) |
| 308 | rw [mul_div_mul_left _ _ hJ] |
| 309 | calc |
| 310 | _ = (Kr/K)*psi + ((Kr/K)*(a/Kr))*theta := by ring |
| 311 | _ = phi + (a/K)*theta := by rw [he]; congr 2 ; field_simp |
| 312 | |
| 313 | /-! Precisely the inherited lattice is retained. -/ |
| 314 | |
| 315 | end NavierStokes.ActualReferenceRebase |