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.PositiveTimeSignedData |
| 2 | |
| 3 | /-! |
| 4 | # Support and local smoothness of the actual signed copy family |
| 5 | |
| 6 | The aggregate retains the original singleton at each active label and is |
| 7 | zero at omitted labels. Positive lift-time gating commutes with this |
| 8 | assembly. The source-domain statements concern the original, ungated |
| 9 | amplitudes on positive lift time. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualSignedFamilySupport |
| 15 | |
| 16 | open Set Function Filter ProblemStatement CorrectionInitialization |
| 17 | open CorrectionInitialization.ActualPrimary PhysicalWaveSum PhysicalCopyBounds |
| 18 | open scoped Topology ContDiff |
| 19 | |
| 20 | private theorem gate_zeroCopies {H : ℕ} {K : Type*} : |
| 21 | PositiveTimeCopyFamily.gate |
| 22 | (DependentSignedPhysicalFamily.zeroCopies : CopyFamily H K) = |
| 23 | DependentSignedPhysicalFamily.zeroCopies := by |
| 24 | simp only [PositiveTimeCopyFamily.gate, DependentSignedPhysicalFamily.zeroCopies, ite_self] |
| 25 | |
| 26 | private theorem gate_copyAt {H : ℕ} {K : Type*} |
| 27 | (f : DependentSignedPhysicalFamily.Family) |
| 28 | (copies : ActualSignedPhysicalData.NativeLabel f.active → CopyFamily H K) |
| 29 | (L : BandLabel) : |
| 30 | PositiveTimeCopyFamily.gate (f.copyAt copies L) = |
| 31 | f.copyAt (fun l => PositiveTimeCopyFamily.gate (copies l)) L := by |
| 32 | classical |
| 33 | by_cases hL : L ∈ f.active |
| 34 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hL] |
| 35 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_right hL, gate_zeroCopies] |
| 36 | |
| 37 | private theorem gate_diagonal {H : ℕ} {K : Type*} |
| 38 | (f : BandLabel → CopyFamily H K) : |
| 39 | PositiveTimeCopyFamily.gate (DependentSignedPhysicalFamily.diagonal f) = |
| 40 | DependentSignedPhysicalFamily.diagonal |
| 41 | (fun L => PositiveTimeCopyFamily.gate (f L)) := rfl |
| 42 | |
| 43 | private theorem gate_assembled {H : ℕ} {K : Type*} |
| 44 | (f : DependentSignedPhysicalFamily.Family) |
| 45 | (copies : ActualSignedPhysicalData.NativeLabel f.active → CopyFamily H K) : |
| 46 | PositiveTimeCopyFamily.gate (f.assembled copies) = |
| 47 | f.assembled (fun L => PositiveTimeCopyFamily.gate (copies L)) := by |
| 48 | unfold DependentSignedPhysicalFamily.Family.assembled |
| 49 | rw [gate_diagonal] |
| 50 | congr 1 |
| 51 | funext L |
| 52 | exact gate_copyAt f copies L |
| 53 | |
| 54 | private theorem gated_assembled_support {H : ℕ} {K : Type*} |
| 55 | (f : DependentSignedPhysicalFamily.Family) |
| 56 | (copies : ActualSignedPhysicalData.NativeLabel f.active → CopyFamily H K) |
| 57 | {a b h r Z : ℝ} {gap : ℕ} |
| 58 | (hs : ∀ L, LocalPhysicalCopyBounds.SupportData |
| 59 | (PositiveTimeCopyFamily.gate (copies L)) a b h r Z gap) : |
| 60 | LocalPhysicalCopyBounds.SupportData |
| 61 | (PositiveTimeCopyFamily.gate (f.assembled copies)) a b h r Z gap := by |
| 62 | rw [gate_assembled] |
| 63 | exact DependentSignedPhysicalFamily.diagonalSupport _ (f.branchSupport _ hs) |
| 64 | |
| 65 | private theorem gated_assembled_smooth {H : ℕ} {K : Type*} |
| 66 | (f : DependentSignedPhysicalFamily.Family) |
| 67 | (copies : ActualSignedPhysicalData.NativeLabel f.active → CopyFamily H K) |
| 68 | {a h r : ℝ} |
| 69 | (hs : ∀ L, LocalPhysicalCopyBounds.SmoothData |
| 70 | (PositiveTimeCopyFamily.gate (copies L)) a h r) : |
| 71 | LocalPhysicalCopyBounds.SmoothData |
| 72 | (PositiveTimeCopyFamily.gate (f.assembled copies)) a h r := by |
| 73 | rw [gate_assembled] |
| 74 | exact DependentSignedPhysicalFamily.diagonalSmooth _ (f.branchSmooth _ hs) |
| 75 | |
| 76 | abbrev Label := ActualSignedPhysicalBinding.Label |
| 77 | |
| 78 | variable {B N0 : ℕ} |
| 79 | (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 80 | |
| 81 | /-- The actual aggregate potential copies, with the sole positive-time gate. -/ |
| 82 | noncomputable def potentialCopies (i : Fin 3) : CopyFamily 1 TorusInverse.Frequency := |
| 83 | PositiveTimeCopyFamily.gate |
| 84 | ((ActualSignedExterior.family s).potentialCopies slots outgoing.data.h_pos.le i) |
| 85 | |
| 86 | /-- The actual aggregate pressure copies, with the same gate. -/ |
| 87 | noncomputable def pressureCopies : CopyFamily 1 TorusInverse.Frequency := |
| 88 | PositiveTimeCopyFamily.gate |
| 89 | ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le) |
| 90 | |
| 91 | variable |
| 92 | (hgeo : ∀ L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active, |
| 93 | ActualSignedPhysicalData.ReferenceGeometry slots ((ActualSignedExterior.family s).singleton L)) |
| 94 | |
| 95 | include hgeo |
| 96 | |
| 97 | /-- Global support of the aggregate follows from the primitive masks and |
| 98 | targets of its selected singletons. -/ |
| 99 | theorem potential_support (i : Fin 3) : |
| 100 | LocalPhysicalCopyBounds.SupportData (potentialCopies s i) |
| 101 | ActualPolarCoverage.inner ActualPolarCoverage.outer h slots.radius 2 0 := by |
| 102 | apply gated_assembled_support |
| 103 | intro L |
| 104 | exact PositiveTimeSignedData.potential_support slots outgoing.data.h_pos.le |
| 105 | ((ActualSignedExterior.family s).singleton L) |
| 106 | (PositiveTimeSignedData.singletonLocalization s L) (hgeo L) |
| 107 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 108 | (PrimaryTargetBounds.leftRadius_pos nominal) |
| 109 | (PrimaryTargetBounds.rightRadius_pos nominal) i |
| 110 | |
| 111 | theorem pressure_support : |
| 112 | LocalPhysicalCopyBounds.SupportData (pressureCopies s) |
| 113 | ActualPolarCoverage.inner ActualPolarCoverage.outer h slots.radius 2 0 := by |
| 114 | apply gated_assembled_support |
| 115 | intro L |
| 116 | exact PositiveTimeSignedData.pressure_support slots outgoing.data.h_pos.le |
| 117 | ((ActualSignedExterior.family s).singleton L) |
| 118 | (PositiveTimeSignedData.singletonLocalization s L) (hgeo L) |
| 119 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 120 | (PrimaryTargetBounds.leftRadius_pos nominal) |
| 121 | (PrimaryTargetBounds.rightRadius_pos nominal) |
| 122 | |
| 123 | variable |
| 124 | (hn : ∀ L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active, |
| 125 | ActualSignedPhysicalData.NativeRegular slots outgoing.data.h_pos.le |
| 126 | ((ActualSignedExterior.family s).singleton L)) |
| 127 | |
| 128 | include hn |
| 129 | |
| 130 | /-- Only the native regularity near actual copy support is used. -/ |
| 131 | theorem potential_smooth (i : Fin 3) : |
| 132 | LocalPhysicalCopyBounds.SmoothData (potentialCopies s i) |
| 133 | ActualPolarCoverage.inner h slots.radius := by |
| 134 | apply gated_assembled_smooth |
| 135 | intro L |
| 136 | exact PositiveTimeSignedData.potentialSmooth slots outgoing.data.h_pos.le |
| 137 | ((ActualSignedExterior.family s).singleton L) |
| 138 | (PositiveTimeSignedData.singletonLocalization s L) (hgeo L) |
| 139 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 140 | (PrimaryTargetBounds.leftRadius_pos nominal) |
| 141 | (PrimaryTargetBounds.rightRadius_pos nominal) |
| 142 | (ActualSignedNativeProfiles.nativeProfiles s L) (hn L) i |
| 143 | |
| 144 | theorem pressure_smooth : |
| 145 | LocalPhysicalCopyBounds.SmoothData (pressureCopies s) |
| 146 | ActualPolarCoverage.inner h slots.radius := by |
| 147 | apply gated_assembled_smooth |
| 148 | intro L |
| 149 | exact PositiveTimeSignedData.pressureSmooth slots outgoing.data.h_pos.le |
| 150 | ((ActualSignedExterior.family s).singleton L) |
| 151 | (PositiveTimeSignedData.singletonLocalization s L) (hgeo L) |
| 152 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 153 | (PrimaryTargetBounds.leftRadius_pos nominal) |
| 154 | (PrimaryTargetBounds.rightRadius_pos nominal) |
| 155 | (ActualSignedNativeProfiles.nativeProfiles s L) (hn L) |
| 156 | |
| 157 | omit hgeo hn |
| 158 | |
| 159 | /-- A nonzero original potential amplitude at positive lift time lies in |
| 160 | the actual source strip. No geometry or output estimate is assumed. -/ |
| 161 | theorem potential_source_domain (i : Fin 3) (k : TorusInverse.Frequency) |
| 162 | (I : WaveIndex 1) (x : PhysicalGraphBounds.LiftPoint) |
| 163 | (hx : x ∈ PositiveTimeCopyFamily.liftPast) |
| 164 | (hne : ((ActualSignedExterior.family s).potentialCopies slots outgoing.data.h_pos.le i).amplitude |
| 165 | k I x ≠ 0) : |
| 166 | x ∈ (CartesianCopySource.pullStrip ActualPrimaryBounds.strip |
| 167 | ActualPolarCoverage.inner ActualPolarCoverage.outer ActualPolarCoverage.inner_pos).domain := by |
| 168 | classical |
| 169 | change ((ActualSignedExterior.family s).copyAt |
| 170 | (fun L => ActualSignedPhysicalData.potentialFamily slots outgoing.data.h_pos.le |
| 171 | ((ActualSignedExterior.family s).singleton L) i) I.1).amplitude k I x ≠ 0 at hne |
| 172 | by_cases hI : I.1 ∈ (ActualSignedExterior.family s).active |
| 173 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hI] at hne |
| 174 | exact PositiveTimeSignedData.potential_source_domain slots outgoing.data.h_pos.le |
| 175 | ((ActualSignedExterior.family s).singleton ⟨I.1.val, I.1.property, hI⟩) |
| 176 | (PositiveTimeSignedData.singletonLocalization s ⟨I.1.val, I.1.property, hI⟩) |
| 177 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 178 | (PrimaryTargetBounds.leftRadius_pos nominal) |
| 179 | (PrimaryTargetBounds.rightRadius_pos nominal) i k I x hx hne |
| 180 | · exact (hne (by simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_right hI, |
| 181 | DependentSignedPhysicalFamily.zeroCopies])).elim |
| 182 | |
| 183 | theorem pressure_source_domain (k : TorusInverse.Frequency) |
| 184 | (I : WaveIndex 1) (x : PhysicalGraphBounds.LiftPoint) |
| 185 | (hx : x ∈ PositiveTimeCopyFamily.liftPast) |
| 186 | (hne : ((ActualSignedExterior.family s).pressureCopies slots outgoing.data.h_pos.le).amplitude |
| 187 | k I x ≠ 0) : |
| 188 | x ∈ (CartesianCopySource.pullStrip ActualPrimaryBounds.strip |
| 189 | ActualPolarCoverage.inner ActualPolarCoverage.outer ActualPolarCoverage.inner_pos).domain := by |
| 190 | classical |
| 191 | change ((ActualSignedExterior.family s).copyAt |
| 192 | (fun L => ActualSignedPhysicalData.pressureFamily slots outgoing.data.h_pos.le |
| 193 | ((ActualSignedExterior.family s).singleton L)) I.1).amplitude k I x ≠ 0 at hne |
| 194 | by_cases hI : I.1 ∈ (ActualSignedExterior.family s).active |
| 195 | · simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_left hI] at hne |
| 196 | exact PositiveTimeSignedData.pressure_source_domain slots outgoing.data.h_pos.le |
| 197 | ((ActualSignedExterior.family s).singleton ⟨I.1.val, I.1.property, hI⟩) |
| 198 | (PositiveTimeSignedData.singletonLocalization s ⟨I.1.val, I.1.property, hI⟩) |
| 199 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 200 | (PrimaryTargetBounds.leftRadius_pos nominal) |
| 201 | (PrimaryTargetBounds.rightRadius_pos nominal) k I x hx hne |
| 202 | · exact (hne (by simp only [DependentSignedPhysicalFamily.Family.copyAt, dite_eq_right hI, |
| 203 | DependentSignedPhysicalFamily.zeroCopies])).elim |
| 204 | |
| 205 | end NavierStokes.ActualSignedFamilySupport |