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.ActualCycleResidualBounds |
| 2 | import NavierStokes.MixedDiagonalResidual |
| 3 | import NavierStokes.TailGaugePotential |
| 4 | import NavierStokes.PhysicalCurlCovariance |
| 5 | |
| 6 | /-! |
| 7 | # Exterior identities for the actual finite physical prefixes |
| 8 | |
| 9 | The assumptions concern the primitive potential, direct velocity, and |
| 10 | pressure stages on the genuine past exterior sublevel. Openness turns their |
| 11 | pointwise identities into the germs needed by the spatial curl. No global |
| 12 | support condition or final velocity identity is assumed. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace NavierStokes.ActualExteriorPrefix |
| 18 | |
| 19 | open Set Filter ProblemStatement PhysicalWaveSum CorrectionInitialization |
| 20 | open scoped Topology BigOperators |
| 21 | |
| 22 | /-- The open physical exterior on which the raw stages are constructed. -/ |
| 23 | noncomputable def exteriorDomain (Nr : ℕ) : Set SpaceTime := |
| 24 | {w | w ∈ preterminal ∧ w ∉ ActualPolarCoverage.active} ∩ |
| 25 | CutStageEstimates.physicalSublevel ActualPrimary.h (ChartScales.Q Nr) |
| 26 | |
| 27 | theorem mem_exteriorDomain {Nr : ℕ} {w : SpaceTime} : |
| 28 | w ∈ exteriorDomain Nr ↔ w ∈ preterminal ∧ |
| 29 | physicalQ ActualPrimary.h w < ChartScales.Q Nr ∧ w ∉ ActualPolarCoverage.active := by |
| 30 | constructor |
| 31 | · intro hw |
| 32 | exact ⟨hw.1.1, hw.2.2, hw.1.2⟩ |
| 33 | · rintro ⟨ht, hq, hout⟩ |
| 34 | exact ⟨⟨ht, hout⟩, ht, hq⟩ |
| 35 | |
| 36 | theorem exteriorDomain_open (Nr : ℕ) : IsOpen (exteriorDomain Nr) := by |
| 37 | have ho : IsOpen {w : SpaceTime | w ∈ preterminal ∧ w ∉ ActualPolarCoverage.active} := by |
| 38 | exact BaseResidual.chartedDomain_isOpen ActualPrimary.outgoing.data.h_pos |
| 39 | ActualPrimary.outgoing.data.h_lt_half |
| 40 | (show IsOpen {p : ℝ × ℝ | p.1 ∉ Icc (NominalConeAssembly.activeLeft ActualPrimary.nominal) |
| 41 | (NominalConeAssembly.activeRight ActualPrimary.nominal)} from |
| 42 | (isClosed_Icc.preimage continuous_fst).isOpen_compl) |
| 43 | exact ho.inter (CutStageEstimates.physicalSublevel_open |
| 44 | ActualPrimary.outgoing.data.h_pos ActualPrimary.outgoing.data.h_lt_half _) |
| 45 | |
| 46 | /-- Local primitive equality gives an ambient germ at every exterior point. -/ |
| 47 | theorem eqOn_exterior_germ {V : Type*} {Nr : ℕ} {f g : SpaceTime → V} |
| 48 | (h : EqOn f g (exteriorDomain Nr)) {w : SpaceTime} (hw : w ∈ exteriorDomain Nr) : |
| 49 | f =ᶠ[𝓝 w] g := by |
| 50 | filter_upwards [(exteriorDomain_open Nr).mem_nhds hw] with y hy |
| 51 | exact h hy |
| 52 | |
| 53 | /-- Primitive stage data on the valid exterior. The direct angular field |
| 54 | vanishes also at stage zero; the potential and pressure retain their actual |
| 55 | slow-base stage zero. -/ |
| 56 | structure ExteriorStages (B Nr : ℕ) (A D : ℕ → VelocityField) (P : ℕ → PressureField) : Prop where |
| 57 | potential_zero : EqOn (A 0) |
| 58 | (TailGaugePotential.finalPotential ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) |
| 59 | (exteriorDomain Nr) |
| 60 | potential_succ : ∀ k, EqOn (A (k + 1)) 0 (exteriorDomain Nr) |
| 61 | direct_zero : ∀ k, EqOn (D k) 0 (exteriorDomain Nr) |
| 62 | pressure_zero : EqOn (P 0) |
| 63 | (FinalSlowBase.pressure ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) |
| 64 | (exteriorDomain Nr) |
| 65 | pressure_succ : ∀ k, EqOn (P (k + 1)) 0 (exteriorDomain Nr) |
| 66 | |
| 67 | section PrefixAlgebra |
| 68 | |
| 69 | variable {V : Type*} [NormedAddCommGroup V] |
| 70 | |
| 71 | theorem uncutPrefix_eqOn_first {A : ℕ → SpaceTime → V} {f : SpaceTime → V} {U : Set SpaceTime} |
| 72 | (h0 : EqOn (A 0) f U) (h : ∀ k, EqOn (A (k + 1)) 0 U) (J : ℕ) : |
| 73 | EqOn (DiagonalJetBounds.uncutPrefix A (J + 1)) f U := by |
| 74 | classical |
| 75 | intro w hw |
| 76 | calc |
| 77 | DiagonalJetBounds.uncutPrefix A (J + 1) w = A 0 w := by |
| 78 | unfold DiagonalJetBounds.uncutPrefix |
| 79 | apply Finset.sum_eq_single 0 |
| 80 | · intro k hk hk0 |
| 81 | obtain ⟨l, rfl⟩ := Nat.exists_eq_succ_of_ne_zero hk0 |
| 82 | exact h l hw |
| 83 | · intro hmem |
| 84 | exact False.elim (hmem (Finset.mem_range.mpr (Nat.zero_lt_succ J))) |
| 85 | _ = f w := h0 hw |
| 86 | |
| 87 | theorem uncutPrefix_eqOn_zero {A : ℕ → SpaceTime → V} {U : Set SpaceTime} |
| 88 | (h : ∀ k, EqOn (A k) 0 U) (N : ℕ) : |
| 89 | EqOn (DiagonalJetBounds.uncutPrefix A N) 0 U := by |
| 90 | intro w hw |
| 91 | unfold DiagonalJetBounds.uncutPrefix |
| 92 | exact Finset.sum_eq_zero (fun k _ => h k hw) |
| 93 | |
| 94 | end PrefixAlgebra |
| 95 | |
| 96 | namespace ExteriorStages |
| 97 | |
| 98 | variable {B Nr : ℕ} {A D : ℕ → VelocityField} {P : ℕ → PressureField} |
| 99 | (H : ExteriorStages B Nr A D P) |
| 100 | |
| 101 | include H |
| 102 | |
| 103 | theorem potential_prefix_eqOn (J : ℕ) : |
| 104 | EqOn (DiagonalJetBounds.uncutPrefix A (J + 1)) |
| 105 | (TailGaugePotential.finalPotential ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) |
| 106 | (exteriorDomain Nr) := |
| 107 | uncutPrefix_eqOn_first H.potential_zero H.potential_succ J |
| 108 | |
| 109 | theorem direct_prefix_eqOn (N : ℕ) : |
| 110 | EqOn (DiagonalJetBounds.uncutPrefix D N) 0 (exteriorDomain Nr) := |
| 111 | uncutPrefix_eqOn_zero H.direct_zero N |
| 112 | |
| 113 | theorem pressure_prefix_eqOn (J : ℕ) : |
| 114 | EqOn (DiagonalJetBounds.uncutPrefix P (J + 1)) |
| 115 | (FinalSlowBase.pressure ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) |
| 116 | (exteriorDomain Nr) := |
| 117 | uncutPrefix_eqOn_first H.pressure_zero H.pressure_succ J |
| 118 | |
| 119 | theorem potential_prefix_germ (J : ℕ) {w : SpaceTime} (hw : w ∈ exteriorDomain Nr) : |
| 120 | DiagonalJetBounds.uncutPrefix A (J + 1) =ᶠ[𝓝 w] |
| 121 | TailGaugePotential.finalPotential ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B := |
| 122 | eqOn_exterior_germ (H.potential_prefix_eqOn J) hw |
| 123 | |
| 124 | /-- The spatial curl sees the actual potential germ, so the finite velocity |
| 125 | prefix agrees with the slow base without any differentiability premise on |
| 126 | the totalized raw stages. -/ |
| 127 | theorem velocity_prefix_eqOn (J : ℕ) : |
| 128 | EqOn (MixedDiagonalResidual.uncutVelocity A D J) |
| 129 | (FinalSlowBase.velocity ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B) |
| 130 | (exteriorDomain Nr) := by |
| 131 | intro w hw |
| 132 | change SpatialCurl.spatialCurl (DiagonalJetBounds.uncutPrefix A (J + 1)) w + |
| 133 | DiagonalJetBounds.uncutPrefix D (J + 1) w = _ |
| 134 | rw [PhysicalCurlCovariance.spatialCurl_congr (H.potential_prefix_germ J hw), |
| 135 | H.direct_prefix_eqOn (J + 1) hw] |
| 136 | simpa only [Pi.zero_apply, add_zero] using |
| 137 | TailGaugePotential.finalPotential_sameCurl ActualPrimary.certificate ActualPrimary.modulation |
| 138 | ActualPrimary.upper B hw.1.1 |
| 139 | |
| 140 | /-- The exterior part of the physical realization required for each finite |
| 141 | cycle follows solely from the primitive stage identities. -/ |
| 142 | theorem prefix_exterior (J : ℕ) {w : SpaceTime} (ht : w ∈ preterminal) |
| 143 | (hq : physicalQ ActualPrimary.h w < ChartScales.Q Nr) (hout : w ∉ ActualPolarCoverage.active) : |
| 144 | MixedDiagonalResidual.uncutVelocity A D J w = |
| 145 | FinalSlowBase.velocity ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B w ∧ |
| 146 | DiagonalJetBounds.uncutPrefix P (J + 1) w = |
| 147 | FinalSlowBase.pressure ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B w := by |
| 148 | have hw := mem_exteriorDomain.mpr ⟨ht, hq, hout⟩ |
| 149 | exact ⟨H.velocity_prefix_eqOn J hw, H.pressure_prefix_eqOn J hw⟩ |
| 150 | |
| 151 | theorem prefix_germs (J : ℕ) {w : SpaceTime} (hw : w ∈ exteriorDomain Nr) : |
| 152 | MixedDiagonalResidual.uncutVelocity A D J =ᶠ[𝓝 w] |
| 153 | FinalSlowBase.velocity ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B ∧ |
| 154 | DiagonalJetBounds.uncutPrefix P (J + 1) =ᶠ[𝓝 w] |
| 155 | FinalSlowBase.pressure ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B := |
| 156 | ⟨eqOn_exterior_germ (H.velocity_prefix_eqOn J) hw, |
| 157 | eqOn_exterior_germ (H.pressure_prefix_eqOn J) hw⟩ |
| 158 | |
| 159 | end ExteriorStages |
| 160 | |
| 161 | end NavierStokes.ActualExteriorPrefix |