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.ActualWaveRegularityData |
| 2 | import NavierStokes.ActualCycleParameters |
| 3 | |
| 4 | /-! |
| 5 | # Deck translations of the actual wave-block coefficients |
| 6 | |
| 7 | Native coefficient translations pass through the literal angular section, |
| 8 | finite harmonic sum, conjugate pairing, and coordinate reindexing. The |
| 9 | particular source assumption is made on full native parameter fibers. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualWaveCoefficientPeriodicity |
| 15 | |
| 16 | open Set Function Filter CorrectionState CorrectionStep |
| 17 | open ActualWaveRegularity |
| 18 | open scoped BigOperators Topology ContDiff |
| 19 | |
| 20 | |
| 21 | abbrev Point := LocalSignedRequest.Point |
| 22 | abbrev FullPoint := Point × ℝ |
| 23 | abbrev Index (B N0 : ℕ) := ActualInitialization.Index B N0 |
| 24 | abbrev Frequency := TorusInverse.Frequency |
| 25 | |
| 26 | noncomputable def pointDeck (k : Frequency) : Point := |
| 27 | (0, (0, TorusAverages.latticePoint k)) |
| 28 | |
| 29 | noncomputable def nativeSection (x : Point) : ActualWaveRegularity.ParticularSpace := |
| 30 | ActualWaveRegularity.particularChart (x, 0) |
| 31 | |
| 32 | theorem fullSection_deck (x : Point) (k : Frequency) : |
| 33 | (x + pointDeck k, (0 : ℝ)) = (x, 0) + ActualWaveRegularity.deckShift k := by |
| 34 | change (x + pointDeck k, (0 : ℝ)) = (x + pointDeck k, 0 + 0) |
| 35 | rw [add_zero] |
| 36 | |
| 37 | theorem nativeSection_deck (x : Point) (k : Frequency) : |
| 38 | nativeSection (x + pointDeck k) = nativeSection x + |
| 39 | ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift k) := by |
| 40 | unfold nativeSection |
| 41 | rw [fullSection_deck, map_add] |
| 42 | |
| 43 | theorem fullSection_mem {x : Point} (hx : x ∈ ActualInitialization.geometry.domain) : |
| 44 | (x, (0 : ℝ)) ∈ ActualWaveRegularity.fullDomain |
| 45 | CorrectionInitialization.ActualPrimary.standardRegion := |
| 46 | ⟨hx, mem_univ _⟩ |
| 47 | |
| 48 | theorem nativeSection_mem {x : Point} (hx : x ∈ ActualInitialization.geometry.domain) : |
| 49 | nativeSection x ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 50 | CorrectionInitialization.ActualPrimary.standardRegion := by |
| 51 | change ActualWaveRegularity.particularChart.symm |
| 52 | (ActualWaveRegularity.particularChart (x,0)) ∈ ActualWaveRegularity.fullDomain |
| 53 | CorrectionInitialization.ActualPrimary.standardRegion |
| 54 | rw [LinearIsometryEquiv.symm_apply_apply] |
| 55 | exact fullSection_mem hx |
| 56 | |
| 57 | theorem fullSection_translation {E : Type} {k : Frequency} {f : FullPoint → E} |
| 58 | (hf : TranslationOn (ActualWaveRegularity.fullDomain |
| 59 | CorrectionInitialization.ActualPrimary.standardRegion) (ActualWaveRegularity.deckShift k) f) : |
| 60 | TranslationOn ActualInitialization.geometry.domain (pointDeck k) (fun x => f (x,0)) := by |
| 61 | intro x hx |
| 62 | change f (x + pointDeck k, 0) = f (x, 0) |
| 63 | rw [fullSection_deck] |
| 64 | exact hf (x,0) (fullSection_mem hx) |
| 65 | |
| 66 | theorem nativeSection_translation {E : Type} {k : Frequency} |
| 67 | {f : ActualWaveRegularity.ParticularSpace → E} |
| 68 | (hf : TranslationOn (ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 69 | CorrectionInitialization.ActualPrimary.standardRegion) |
| 70 | (ActualWaveRegularity.particularChart (ActualWaveRegularity.deckShift k)) f) : |
| 71 | TranslationOn ActualInitialization.geometry.domain (pointDeck k) (fun x => f (nativeSection x)) := by |
| 72 | intro x hx |
| 73 | change f (nativeSection (x + pointDeck k)) = f (nativeSection x) |
| 74 | rw [nativeSection_deck] |
| 75 | exact hf (nativeSection x) (nativeSection_mem hx) |
| 76 | |
| 77 | section FiniteAssembly |
| 78 | |
| 79 | variable {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 80 | {Ω : Set D} {shift : D} |
| 81 | |
| 82 | omit [NormedSpace ℝ D] in |
| 83 | theorem conjugatePair_translation {f : D → ℂ} |
| 84 | (hf : TranslationOn Ω shift f) (j m : ℤ) : |
| 85 | TranslationOn Ω shift (ErrorHarmonics.conjugatePair j f m) := by |
| 86 | intro x hx |
| 87 | simp only [ParticularWaveAssembly.pair_apply, hf x hx] |
| 88 | |
| 89 | omit [NormedSpace ℝ D] in |
| 90 | theorem assembled_velocity_translation {E : Type} (e : D → E) (N : ℕ) (frequency : ℕ → ℝ) |
| 91 | (phase : ℕ → E → ℝ) (angular : ℕ → ℤ) |
| 92 | (v : ℤ → ℕ → E → HarmonicCalculus.ComplexVector) (p : ℤ → ℕ → E → ℂ) |
| 93 | (n : ℕ) (hv : ∀ j ∈ ParticularWaveAssembly.modes N, |
| 94 | TranslationOn Ω shift (fun x => v j n (e x))) |
| 95 | (i : Fin 3) (m : ℤ) : |
| 96 | TranslationOn Ω shift |
| 97 | (fun x => (ParticularWaveAssembly.assembledBlock N frequency phase angular v p).velocity n i m (e x)) := by |
| 98 | intro x hx |
| 99 | simp only [ParticularWaveAssembly.assembledBlock, ErrorHarmonics.sumBlock, |
| 100 | ParticularWaveAssembly.modeBlock] |
| 101 | rw [AddMonoidAlgebra.coeff_sum, Finsupp.finsetSum_apply] |
| 102 | simp only [Finset.sum_apply] |
| 103 | apply Finset.sum_congr rfl |
| 104 | intro j hj |
| 105 | have he := congrFun (hv j hj x hx) i |
| 106 | simp only [ParticularWaveAssembly.pair_apply, he] |
| 107 | |
| 108 | omit [NormedSpace ℝ D] in |
| 109 | theorem assembled_pressure_translation {E : Type} (e : D → E) (N : ℕ) (frequency : ℕ → ℝ) |
| 110 | (phase : ℕ → E → ℝ) (angular : ℕ → ℤ) |
| 111 | (v : ℤ → ℕ → E → HarmonicCalculus.ComplexVector) (p : ℤ → ℕ → E → ℂ) |
| 112 | (n : ℕ) (hp : ∀ j ∈ ParticularWaveAssembly.modes N, |
| 113 | TranslationOn Ω shift (fun x => p j n (e x))) |
| 114 | (m : ℤ) : |
| 115 | TranslationOn Ω shift |
| 116 | (fun x => (ParticularWaveAssembly.assembledBlock N frequency phase angular v p).pressure n m (e x)) := by |
| 117 | intro x hx |
| 118 | simp only [ParticularWaveAssembly.assembledBlock, ErrorHarmonics.sumBlock, |
| 119 | ParticularWaveAssembly.modeBlock] |
| 120 | rw [AddMonoidAlgebra.coeff_sum, Finsupp.finsetSum_apply] |
| 121 | simp only [Finset.sum_apply] |
| 122 | apply Finset.sum_congr rfl |
| 123 | intro j hj |
| 124 | simp only [ParticularWaveAssembly.pair_apply, hp j hj x hx] |
| 125 | |
| 126 | end FiniteAssembly |
| 127 | |
| 128 | variable {B N0 : ℕ} |
| 129 | |
| 130 | noncomputable def particularData (v : CycleCoefficients (Index B N0)) |
| 131 | (c : Context Point) (u : State Point) (l : Index B N0) (j : ℤ) := |
| 132 | ActualWaveRegularity.particularCopyData (ActualCycleParameters.fixedParameters B N0) v c u l j |
| 133 | |
| 134 | /-- The incoming carrier is identified before applying the native |
| 135 | translation theorem; no carrier of a solved wave is assumed. -/ |
| 136 | theorem particular_phase (v : CycleCoefficients (Index B N0)) |
| 137 | (c : Context Point) (u : State Point) (l : Index B N0) |
| 138 | (hc : SameCarrier (v.blocks l) (ActualInitialization.tangentBlock l)) (j : ℤ) : |
| 139 | (particularData v c u l j).background.phase = |
| 140 | (ActualParticularStageControls.background (l.2,l.1)).phase := by |
| 141 | funext n z |
| 142 | change (v.blocks l).phase n (cycleAssoc.symm (z.1.1,z.2)) + |
| 143 | ((v.blocks l).angularFrequency n : ℝ) / (v.blocks l).frequency n * z.1.2 = _ |
| 144 | rw [← hc.phase, ← hc.angular, ← hc.frequency] |
| 145 | change (CorrectionInitialization.ActualPrimary.chartCoefficients l.2 l.1).phase n |
| 146 | ((z.1.1.1,(z.1.1.2,z.2)),0) + |
| 147 | (PrimaryGeometryAssembly.angularMode CorrectionInitialization.ActualPrimary.certificate |
| 148 | CorrectionInitialization.ActualPrimary.modulation |
| 149 | (CorrectionInitialization.ActualPrimary.choice B N0).prepared l.2 l.1 : ℝ) / |
| 150 | (ChartScales.carrier CorrectionInitialization.ActualPrimary.h n : ℝ) * z.1.2 = |
| 151 | (CorrectionInitialization.ActualPrimary.chartCoefficients l.2 l.1).phase n |
| 152 | ((z.1.1.1,(z.1.1.2,z.2)),z.1.2) |
| 153 | simp only [CorrectionInitialization.ActualPrimary.chartCoefficients, |
| 154 | CorrectionInitialization.ActualPrimary.absolutePhase, mul_zero, zero_add] |
| 155 | ring |
| 156 | |
| 157 | /-- The finite list of actual particular sources has its asserted periods |
| 158 | on the complete native parameter fibers. -/ |
| 159 | noncomputable def NativeSourcesPeriodic (v : CycleCoefficients (Index B N0)) |
| 160 | (c : Context Point) (u : State Point) (l : Index B N0) (n : ℕ) : Prop := |
| 161 | ∀ j ∈ ParticularWaveAssembly.modes v.residualBand, |
| 162 | ∀ z, z ∈ ActualWaveRegularity.nativeDomain ActualWaveRegularity.particularChart |
| 163 | CorrectionInitialization.ActualPrimary.standardRegion → |
| 164 | CommonCoverSolve.PeriodicAt ((particularData v c u l j).source n) z.1 |
| 165 | |
| 166 | /-- Ordered-band periods of the literal particular block and its Gaussian |
| 167 | block, including every Fourier coefficient rather than only real fields. -/ |
| 168 | theorem particular_coefficients (v : CycleCoefficients (Index B N0)) |
| 169 | (c : Context Point) (u : State Point) (l : Index B N0) (n : ℕ) |
| 170 | (hn : ActualWaveRegularityData.Ordered l n) (k : Frequency) |
| 171 | (hc : SameCarrier (v.blocks l) (ActualInitialization.tangentBlock l)) |
| 172 | (hsource : NativeSourcesPeriodic v c u l n) : |
| 173 | (∀ i m, TranslationOn ActualInitialization.geometry.domain (pointDeck k) |
| 174 | (((ActualCycleParameters.fixedParameters B N0).particularBlock v c u l).velocity n i m)) ∧ |
| 175 | (∀ m, TranslationOn ActualInitialization.geometry.domain (pointDeck k) |
| 176 | (((ActualCycleParameters.fixedParameters B N0).particularBlock v c u l).pressure n m)) ∧ |
| 177 | (∀ i m, TranslationOn ActualInitialization.geometry.domain (pointDeck k) |
| 178 | (((ActualCycleParameters.fixedParameters B N0).particularGaussianBlock v c u l).velocity n i m)) := by |
| 179 | have ht (j : ℤ) (hj : j ∈ ParticularWaveAssembly.modes v.residualBand) := |
| 180 | ActualWaveRegularityData.particular_coefficient_translations (l.2,l.1) |
| 181 | (StateReindex.context cycleAssoc.symm c) (StateReindex.state cycleAssoc.symm u) |
| 182 | (StateReindex.block cycleAssoc.symm (v.blocks l)) |
| 183 | (StateReindex.blockCoefficients cycleAssoc.symm (v.gaussian l)) |
| 184 | (StateReindex.blockCoefficients cycleAssoc.symm (v.aliasCoefficients l)) j |
| 185 | (particular_phase v c u l hc j) n hn k (hsource j hj) |
| 186 | refine ⟨?_, ?_, ?_⟩ |
| 187 | · intro i m |
| 188 | apply assembled_velocity_translation (fun x => cycleAssoc x) |
| 189 | intro j hj |
| 190 | exact nativeSection_translation (ht j hj).2.1 |
| 191 | · intro m |
| 192 | apply assembled_pressure_translation (fun x => cycleAssoc x) |
| 193 | intro j hj |
| 194 | exact nativeSection_translation (ht j hj).2.2.1 |
| 195 | · intro i m |
| 196 | apply assembled_velocity_translation (fun x => cycleAssoc x) |
| 197 | intro j hj |
| 198 | exact nativeSection_translation (ht j hj).2.2.2 |
| 199 | |
| 200 | /-- The actual signed request gives the native periods directly; no |
| 201 | periodicity assumption on an output block or on a freely supplied request |
| 202 | is needed. -/ |
| 203 | theorem signed_coefficients (v : CycleCoefficients (Index B N0)) |
| 204 | (c : Context Point) (u : State Point) (l : Index B N0) (n : ℕ) |
| 205 | (hn : ActualWaveRegularityData.Ordered l n) (k : Frequency) : |
| 206 | (∀ i m, TranslationOn ActualInitialization.geometry.domain (pointDeck k) |
| 207 | (((ActualCycleParameters.fixedParameters B N0).signedBlock v c u l).velocity n i m)) ∧ |
| 208 | (∀ m, TranslationOn ActualInitialization.geometry.domain (pointDeck k) |
| 209 | (((ActualCycleParameters.fixedParameters B N0).signedBlock v c u l).pressure n m)) ∧ |
| 210 | (∀ i m, TranslationOn ActualInitialization.geometry.domain (pointDeck k) |
| 211 | (((ActualCycleParameters.fixedParameters B N0).signedGaussianBlock v c u l).velocity n i m)) := by |
| 212 | have ht := ActualWaveRegularityData.signed_coefficient_translations l |
| 213 | ActualInitialization.geometry.patch ActualInitialization.geometry.coord c |
| 214 | ((ActualCycleParameters.fixedParameters B N0).afterParticular v c u) n hn k |
| 215 | refine ⟨?_, ?_, ?_⟩ |
| 216 | · intro i m |
| 217 | exact conjugatePair_translation ((fullSection_translation ht.2.1).component i) 1 m |
| 218 | · intro m |
| 219 | exact conjugatePair_translation (fullSection_translation ht.2.2.1) 1 m |
| 220 | · intro i m |
| 221 | exact conjugatePair_translation ((fullSection_translation ht.2.2.2).component i) 1 m |
| 222 | |
| 223 | end NavierStokes.ActualWaveCoefficientPeriodicity |