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.ActualCyclePreservation |
| 2 | import NavierStokes.CurrentSignedCurl |
| 3 | |
| 4 | /-! |
| 5 | # Omitted labels in the actual current signed fields |
| 6 | |
| 7 | The current potential and pressure are constructed from the same signed |
| 8 | copy sum as the correction cycle. Their support implies membership in the |
| 9 | actual active-label set, before any physical pullback or finite sum. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualSignedCurrentSupport |
| 15 | |
| 16 | open Set Function Filter CorrectionState CorrectionStep HarmonicCalculus |
| 17 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 18 | open scoped Topology ContDiff BigOperators |
| 19 | |
| 20 | abbrev Point := ActualSignedCoherence.Point |
| 21 | abbrev FullPoint := ActualSignedCoherence.FullPoint |
| 22 | abbrev Index := ActualInitialization.Index |
| 23 | |
| 24 | variable {B N0 : ℕ} |
| 25 | |
| 26 | theorem outside_core (l : Index B N0) (n : ℕ) {x : Point} |
| 27 | (hx : x ∈ ActualInitialization.geometry.domain) |
| 28 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 29 | x ∉ ActualCoreSupport.refinedCarrier l n := |
| 30 | fun hc => hn (ActualCyclePreservation.core_active l n hx hc) |
| 31 | |
| 32 | /-- Zero values of the literal common coefficient, with arbitrary current |
| 33 | state and no smoothness or residual bound hypothesis. -/ |
| 34 | theorem common_zero (l : Index B N0) (u : State Point) (n : ℕ) {x : FullPoint} |
| 35 | (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 36 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 37 | (ActualSignedCoherence.copies l u).common.amplitude n x = 0 ∧ |
| 38 | (ActualSignedCoherence.copies l u).common.pressure n x = 0 := |
| 39 | ActualCycleAssembly.refined_signed_common_zero l ActualInitialization.geometry.strip |
| 40 | (ActualSignedCoherence.request B u) n hx (outside_core l n hx hn) |
| 41 | |
| 42 | theorem potentialCoefficient_zero (l : Index B N0) (u : State Point) (n : ℕ) |
| 43 | {x : FullPoint} (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 44 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 45 | ActualSignedPotentialCoherence.potentialCoefficient l u n x = 0 := by |
| 46 | simp only [ActualSignedPotentialCoherence.potentialCoefficient, (common_zero l u n hx hn).1, |
| 47 | CurlClassBounds.normalCoefficient, CurlClassBounds.normalCross, map_zero, smul_zero] |
| 48 | |
| 49 | theorem potential_zero (l : Index B N0) (u : State Point) (n : ℕ) {x : FullPoint} |
| 50 | (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 51 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 52 | ActualSignedPotentialCoherence.potential l u n x = 0 := by |
| 53 | rw [ActualSignedPotentialCoherence.potential_eq_mode] |
| 54 | funext i |
| 55 | simp only [vectorMode, mode, potentialCoefficient_zero l u n hx hn, Pi.zero_apply, zero_mul] |
| 56 | |
| 57 | theorem pressureMode_zero (l : Index B N0) (u : State Point) (n : ℕ) {x : FullPoint} |
| 58 | (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 59 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 60 | ActualSignedPotentialCoherence.pressureMode l u n x = 0 := by |
| 61 | simp only [ActualSignedPotentialCoherence.pressureMode, mode, |
| 62 | (common_zero l u n hx hn).2, zero_mul] |
| 63 | |
| 64 | theorem native_zero_germs (l : Index B N0) (u : State Point) (n : ℕ) {x : FullPoint} |
| 65 | (hx : x.1 ∈ ActualInitialization.geometry.domain) |
| 66 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 67 | (ActualSignedPotentialCoherence.potential l u n =ᶠ[𝓝 x] fun _ => 0) ∧ |
| 68 | (ActualSignedPotentialCoherence.pressureMode l u n =ᶠ[𝓝 x] fun _ => 0) := by |
| 69 | have hU : {y : FullPoint | y.1 ∈ ActualInitialization.geometry.domain} ∈ 𝓝 x := |
| 70 | (ActualInitialization.geometry.domain_open.preimage continuous_fst).mem_nhds hx |
| 71 | constructor |
| 72 | · filter_upwards [hU] with y hy |
| 73 | exact potential_zero l u n hy hn |
| 74 | · filter_upwards [hU] with y hy |
| 75 | exact pressureMode_zero l u n hy hn |
| 76 | |
| 77 | theorem cylindrical_zero (l : Index B N0) (u : State Point) (n : ℕ) |
| 78 | {z : ProblemStatement.SpaceTime} |
| 79 | (hz : z ∈ ActualSignedPotentialCoherence.physicalDomain n) |
| 80 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 81 | ActualSignedPotentialCoherence.cylindricalPotential l u n z = 0 ∧ |
| 82 | ActualSignedPotentialCoherence.cylindricalPressureMode l u n z = 0 := by |
| 83 | constructor |
| 84 | · simp only [ActualSignedPotentialCoherence.cylindricalPotential, |
| 85 | ActualSignedPotentialCoherence.rescaledPotential, potential_zero l u n hz.2 hn, smul_zero] |
| 86 | · simp only [ActualSignedPotentialCoherence.cylindricalPressureMode, |
| 87 | ActualSignedPotentialCoherence.rescaledPressureMode, pressureMode_zero l u n hz.2 hn, smul_zero] |
| 88 | |
| 89 | theorem physicalDomain_of_source (n : ℕ) {z : ProblemStatement.SpaceTime} |
| 90 | (hz : z ∈ ActualPhysicalPrefixFields.source n) : |
| 91 | z ∈ ActualSignedPotentialCoherence.physicalDomain n := |
| 92 | ⟨hz.1, (CurrentSignedCurl.nativePoint_mem n hz).1.1⟩ |
| 93 | |
| 94 | theorem currentPotential_zero (l : Index B N0) (u : State Point) (n : ℕ) |
| 95 | {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 96 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) |
| 97 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 98 | CurrentSignedCurl.currentPotential l u n a i z = 0 := by |
| 99 | have hp := (cylindrical_zero l u n (physicalDomain_of_source n hz.2.2) hn).1 |
| 100 | have hzero : PhysicalCurlCovariance.realVector (0 : ComplexVector) = 0 := by |
| 101 | ext j |
| 102 | simp |
| 103 | simp only [CurrentSignedCurl.currentPotential, PhysicalCurlCovariance.cartesianPotential, |
| 104 | hp, hzero, map_zero] |
| 105 | |
| 106 | theorem currentPressure_zero (l : Index B N0) (u : State Point) (n : ℕ) |
| 107 | {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 108 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) |
| 109 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 110 | CurrentSignedCurl.currentPressure l u n a i z = 0 := by |
| 111 | have hp := (cylindrical_zero l u n (physicalDomain_of_source n hz.2.2) hn).2 |
| 112 | simp only [CurrentSignedCurl.currentPressure, hp, Complex.zero_re] |
| 113 | |
| 114 | theorem currentPotential_zero_germ (l : Index B N0) (u : State Point) (n : ℕ) |
| 115 | {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 116 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) |
| 117 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 118 | CurrentSignedCurl.currentPotential l u n a i =ᶠ[𝓝 z] fun _ => 0 := by |
| 119 | filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] |
| 120 | with w hw |
| 121 | exact currentPotential_zero l u n hw hn |
| 122 | |
| 123 | theorem currentPressure_zero_germ (l : Index B N0) (u : State Point) (n : ℕ) |
| 124 | {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 125 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) |
| 126 | (hn : l ∉ activeLabels standardRegion B N0 n) : |
| 127 | CurrentSignedCurl.currentPressure l u n a i =ᶠ[𝓝 z] fun _ => 0 := by |
| 128 | filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] |
| 129 | with w hw |
| 130 | exact currentPressure_zero l u n hw hn |
| 131 | |
| 132 | /-! ## The canonical sum is the finite current active-label sum -/ |
| 133 | |
| 134 | theorem finsum_eq_active_sum {E : Type*} [AddCommMonoid E] (n : ℕ) |
| 135 | (f : Index B N0 → E) |
| 136 | (hz : ∀ l, l ∉ activeLabels standardRegion B N0 n → f l = 0) : |
| 137 | (∑ᶠ l, f l) = ∑ l ∈ activeLabels standardRegion B N0 n, f l := by |
| 138 | classical |
| 139 | apply finsum_eq_sum_of_support_subset |
| 140 | intro l hl |
| 141 | by_contra hn |
| 142 | exact hl (hz l hn) |
| 143 | |
| 144 | theorem finsum_eq_labels_sum {E : Type*} [AddCommMonoid E] |
| 145 | (v : CycleCoefficients (Index B N0)) |
| 146 | (hv : v.labels = activeLabels standardRegion B N0) (n : ℕ) |
| 147 | (f : Index B N0 → E) |
| 148 | (hz : ∀ l, l ∉ activeLabels standardRegion B N0 n → f l = 0) : |
| 149 | (∑ᶠ l, f l) = ∑ l ∈ v.labels n, f l := by |
| 150 | rw [hv] |
| 151 | exact finsum_eq_active_sum n f hz |
| 152 | |
| 153 | theorem potential_finsum (u : State Point) (n : ℕ) {x : FullPoint} |
| 154 | (hx : x.1 ∈ ActualInitialization.geometry.domain) : |
| 155 | (∑ᶠ l : Index B N0, ActualSignedPotentialCoherence.potential l u n x) = |
| 156 | ∑ l ∈ activeLabels standardRegion B N0 n, ActualSignedPotentialCoherence.potential l u n x := |
| 157 | finsum_eq_active_sum n _ (fun l hn => potential_zero l u n hx hn) |
| 158 | |
| 159 | theorem pressureMode_finsum (u : State Point) (n : ℕ) {x : FullPoint} |
| 160 | (hx : x.1 ∈ ActualInitialization.geometry.domain) : |
| 161 | (∑ᶠ l : Index B N0, ActualSignedPotentialCoherence.pressureMode l u n x) = |
| 162 | ∑ l ∈ activeLabels standardRegion B N0 n, ActualSignedPotentialCoherence.pressureMode l u n x := |
| 163 | finsum_eq_active_sum n _ (fun l hn => pressureMode_zero l u n hx hn) |
| 164 | |
| 165 | theorem currentPotential_finsum (u : State Point) (n : ℕ) |
| 166 | {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 167 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 168 | (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i z) = |
| 169 | ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPotential l u n a i z := |
| 170 | finsum_eq_active_sum n _ (fun l hn => currentPotential_zero l u n hz hn) |
| 171 | |
| 172 | theorem currentPressure_finsum (u : State Point) (n : ℕ) |
| 173 | {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 174 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 175 | (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i z) = |
| 176 | ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPressure l u n a i z := |
| 177 | finsum_eq_active_sum n _ (fun l hn => currentPressure_zero l u n hz hn) |
| 178 | |
| 179 | theorem currentPotential_finsum_germ (u : State Point) (n : ℕ) |
| 180 | {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 181 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 182 | (fun w => ∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i w) =ᶠ[𝓝 z] |
| 183 | fun w => ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPotential l u n a i w := by |
| 184 | filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] |
| 185 | with w hw |
| 186 | exact currentPotential_finsum u n hw |
| 187 | |
| 188 | theorem currentPressure_finsum_germ (u : State Point) (n : ℕ) |
| 189 | {qbig a : ℝ} (ha : 0 < a) {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 190 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 191 | (fun w => ∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i w) =ᶠ[𝓝 z] |
| 192 | fun w => ∑ l ∈ activeLabels standardRegion B N0 n, CurrentSignedCurl.currentPressure l u n a i w := by |
| 193 | filter_upwards [(ActualPhysicalPrefixFields.cartesianChartDomain_open qbig n ha i).mem_nhds hz] |
| 194 | with w hw |
| 195 | exact currentPressure_finsum u n hw |
| 196 | |
| 197 | theorem current_finsums_eq_labels (u : State Point) (v : CycleCoefficients (Index B N0)) |
| 198 | (hv : v.labels = activeLabels standardRegion B N0) (n : ℕ) |
| 199 | {qbig a : ℝ} {i : PolarCharts.Index} {z : ProblemStatement.SpaceTime} |
| 200 | (hz : z ∈ ActualPhysicalPrefixFields.cartesianChartDomain qbig n a i) : |
| 201 | (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPotential l u n a i z) = |
| 202 | ∑ l ∈ v.labels n, CurrentSignedCurl.currentPotential l u n a i z ∧ |
| 203 | (∑ᶠ l : Index B N0, CurrentSignedCurl.currentPressure l u n a i z) = |
| 204 | ∑ l ∈ v.labels n, CurrentSignedCurl.currentPressure l u n a i z := by |
| 205 | rw [hv] |
| 206 | exact ⟨currentPotential_finsum u n hz, currentPressure_finsum u n hz⟩ |
| 207 | |
| 208 | end NavierStokes.ActualSignedCurrentSupport |