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.ActualCandidateAssembly |
| 2 | import NavierStokes.R3.ActualCandidate |
| 3 | |
| 4 | /-! |
| 5 | # Endpoint extensions for every admissible diagonal schedule |
| 6 | |
| 7 | All statements retain the supplied schedule. This allows the local paper |
| 8 | construction to select a schedule with extra quantitative residual bounds |
| 9 | without losing the endpoint extension and global candidate conclusions. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.LocalScheduleWitness |
| 15 | |
| 16 | open Set Filter ProblemStatement ActualCandidateAssembly |
| 17 | open CorrectionInitialization.ActualPrimary |
| 18 | open JointResidualLimits (OneSidedExtension AwayExtensions) |
| 19 | open scoped Topology ContDiff |
| 20 | |
| 21 | /-- The literal potential sum for the fixed selected stage sequence. -/ |
| 22 | def potentialSum (a : ℕ → ℕ) : VelocityField := |
| 23 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 24 | selectedPotentialStages |
| 25 | |
| 26 | /-- The literal direct angular sum for the fixed selected stage sequence. -/ |
| 27 | def directSum (a : ℕ → ℕ) : VelocityField := |
| 28 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 29 | selectedDirectStages |
| 30 | |
| 31 | /-- The literal pressure sum for the fixed selected stage sequence. -/ |
| 32 | def pressureSum (a : ℕ → ℕ) : PressureField := |
| 33 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) (PhysicalWaveSum.physicalQ h) |
| 34 | selectedPressureStages |
| 35 | |
| 36 | /-- The standard schedule obligations for the selected actual stage fields. -/ |
| 37 | abbrev Selected (a : ℕ → ℕ) : Prop := |
| 38 | MixedCandidateWitness.SelectedSchedule h |
| 39 | (ActualCandidateConstruction.qbig ActualCandidateConstruction.selectedBudget |
| 40 | ActualCandidateConstruction.selectedThreshold) |
| 41 | selectedPotentialStages selectedDirectStages selectedPressureStages a |
| 42 | |
| 43 | /-- Every admissible schedule preserves the three away-from-origin endpoint |
| 44 | extensions; no reselection of the supplied schedule occurs. -/ |
| 45 | theorem awayExtensions_of_schedule (B N0 : ℕ) |
| 46 | (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) {a : ℕ → ℕ} |
| 47 | (ha : MixedCandidateWitness.SelectedSchedule h (ActualCandidateConstruction.qbig B N0) |
| 48 | (potentialStages B N0 hN) (directStages B N0 hN) (pressureStages B N0 hN) a) : |
| 49 | AwayExtensions (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) |
| 50 | (PhysicalWaveSum.physicalQ h) (potentialStages B N0 hN)) ∧ |
| 51 | AwayExtensions (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) |
| 52 | (PhysicalWaveSum.physicalQ h) (directStages B N0 hN)) ∧ |
| 53 | AwayExtensions (SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) |
| 54 | (PhysicalWaveSum.physicalQ h) (pressureStages B N0 hN)) := by |
| 55 | obtain ⟨_, hap, _, ham, hat, hgap, _, _⟩ := ha |
| 56 | have hqbig := ActualCandidateConstruction.qbig_pos B N0 |
| 57 | have ha0 : 0 < (a 0 : ℝ) := by exact_mod_cast hap 0 |
| 58 | have hamin (j : ℕ) : (a 0 : ℝ) ≤ (a j : ℝ) := by |
| 59 | exact_mod_cast ham.monotone (Nat.zero_le j) |
| 60 | have hA0 : ∀ x : Space, x ≠ 0 → x 2 = 0 → |
| 61 | Nonempty (OneSidedExtension (potentialStages B N0 hN 0) x) := by |
| 62 | intro x hx hxz |
| 63 | exact MixedDiagonalExtensions.initial_add_extension outgoing.data.h_pos |
| 64 | outgoing.data.h_lt_half hqbig (initialPotential_support B N0) hx hxz |
| 65 | (Classical.choice (TailGaugePotential.finalPotential_awayExtensions |
| 66 | certificate modulation upper B x hx)) |
| 67 | have hP0 : ∀ x : Space, x ≠ 0 → x 2 = 0 → |
| 68 | Nonempty (OneSidedExtension (pressureStages B N0 hN 0) x) := by |
| 69 | intro x hx hxz |
| 70 | exact MixedDiagonalExtensions.initial_add_extension outgoing.data.h_pos |
| 71 | outgoing.data.h_lt_half hqbig (initialPressure_support B N0) hx hxz |
| 72 | (Classical.choice ((SlowBaseEndpoint.final_fields_awayExtensions |
| 73 | certificate modulation upper B).2 x hx)) |
| 74 | have hB0 : ∀ x : Space, x ≠ 0 → x 2 = 0 → |
| 75 | Nonempty (OneSidedExtension (directStages B N0 hN 0) x) := by |
| 76 | intro x hx hxz |
| 77 | exact MixedDiagonalExtensions.extension_of_eventually_zero |
| 78 | ((directStages_support B N0 hN 0).eventually_zero outgoing.data.h_pos |
| 79 | outgoing.data.h_lt_half hqbig hx hxz) |
| 80 | have hAsupport (j : ℕ) (hj : j ≠ 0) : |
| 81 | MixedDiagonalExtensions.SublevelShrinkingSupport h PhysicalStageSupport.actualOuterConstant |
| 82 | (ActualCandidateConstruction.qbig B N0) (potentialStages B N0 hN j) := by |
| 83 | cases j with |
| 84 | | zero => exact (hj rfl).elim |
| 85 | | succ j => exact positivePotential_support B N0 hN j |
| 86 | have hPsupport (j : ℕ) (hj : j ≠ 0) : |
| 87 | MixedDiagonalExtensions.SublevelShrinkingSupport h PhysicalStageSupport.actualOuterConstant |
| 88 | (ActualCandidateConstruction.qbig B N0) (pressureStages B N0 hN j) := by |
| 89 | cases j with |
| 90 | | zero => exact (hj rfl).elim |
| 91 | | succ j => exact positivePressure_support B N0 hN j |
| 92 | exact ⟨MixedDiagonalExtensions.diagonal_awayExtensions_local outgoing.data.h_pos |
| 93 | outgoing.data.h_lt_half hqbig hat ha0 hamin (hgap 0) hAsupport hA0 |
| 94 | (endpoints B N0 hN).potential, |
| 95 | MixedDiagonalExtensions.diagonal_awayExtensions_local outgoing.data.h_pos |
| 96 | outgoing.data.h_lt_half hqbig hat ha0 hamin (hgap 0) |
| 97 | (fun j _ => directStages_support B N0 hN j) hB0 (endpoints B N0 hN).direct, |
| 98 | MixedDiagonalExtensions.diagonal_awayExtensions_local outgoing.data.h_pos |
| 99 | outgoing.data.h_lt_half hqbig hat ha0 hamin (hgap 0) hPsupport hP0 |
| 100 | (endpoints B N0 hN).pressure⟩ |
| 101 | |
| 102 | /-- The three endpoint extensions for any schedule of the selected stages. -/ |
| 103 | theorem selected_awayExtensions {a : ℕ → ℕ} (ha : Selected a) : |
| 104 | AwayExtensions (potentialSum a) ∧ AwayExtensions (directSum a) ∧ |
| 105 | AwayExtensions (pressureSum a) := |
| 106 | awayExtensions_of_schedule ActualCandidateConstruction.selectedBudget |
| 107 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry ha |
| 108 | |
| 109 | /-- The original axial blowup mechanism holds for the same supplied schedule. -/ |
| 110 | theorem selected_origin_blowup {a : ℕ → ℕ} (ha : Selected a) : |
| 111 | Tendsto (fun t : ℝ => ‖MixedPeriodicAssembly.velocity |
| 112 | (potentialSum a) (directSum a) (t, 0)‖) (𝓝[<] (1 : ℝ)) atTop := by |
| 113 | obtain ⟨_, _, _, _, hat, _, _, _⟩ := ha |
| 114 | exact GermCandidateAssembly.origin_blowup certificate modulation upper |
| 115 | ActualCandidateConstruction.selectedBudget |
| 116 | (ActualCandidateConstruction.qbig_pos ActualCandidateConstruction.selectedBudget |
| 117 | ActualCandidateConstruction.selectedThreshold) |
| 118 | (initialPotential ActualCandidateConstruction.selectedBudget |
| 119 | ActualCandidateConstruction.selectedThreshold) |
| 120 | (positivePotential ActualCandidateConstruction.selectedBudget |
| 121 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) |
| 122 | (directData ActualCandidateConstruction.selectedBudget |
| 123 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) |
| 124 | (initialPotential_axisZeroOn ActualCandidateConstruction.selectedBudget |
| 125 | ActualCandidateConstruction.selectedThreshold) |
| 126 | (positivePotential_axisZeroOn ActualCandidateConstruction.selectedBudget |
| 127 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) hat |
| 128 | |
| 129 | /-- The prescribed schedule supports the complete smooth forcing assembly, |
| 130 | with its actual three sums retained in the output. -/ |
| 131 | theorem selected_periodic_candidate {a : ℕ → ℕ} (ha : Selected a) : |
| 132 | ∃ forcing : VelocityField, |
| 133 | CandidateProperties |
| 134 | (TimeLocalization.activatedVelocity (MixedPeriodicAssembly.periodicVelocity |
| 135 | (potentialSum a) (directSum a))) |
| 136 | (TimeLocalization.activatedPressure (SpatialLocalization.periodicPressure (pressureSum a))) |
| 137 | forcing ∧ ContDiff ℝ ∞ forcing := by |
| 138 | have he := selected_awayExtensions ha |
| 139 | have haxis := selected_origin_blowup ha |
| 140 | obtain ⟨_, hap, _, ham, hat, hgap, hs, hz⟩ := ha |
| 141 | have ha0 : 0 < (a 0 : ℝ) := by exact_mod_cast hap 0 |
| 142 | have hamin (j : ℕ) : (a 0 : ℝ) ≤ (a j : ℝ) := by |
| 143 | exact_mod_cast ham.monotone (Nat.zero_le j) |
| 144 | have hcut := LocalAngularDiagonal.spatialCut_angularSum_divergence |
| 145 | outgoing.data.h_pos outgoing.data.h_lt_half |
| 146 | (directData ActualCandidateConstruction.selectedBudget |
| 147 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry) |
| 148 | hat ha0 hamin (hgap 0) |
| 149 | obtain ⟨forcing, hc, hf, _⟩ := MixedPeriodicAssembly.exists_candidate_force |
| 150 | (hs.potential.mono (fun _ hx => hx.1)) (hs.direct.mono (fun _ hx => hx.1)) |
| 151 | (hs.pressure.mono (fun _ hx => hx.1)) hcut hz he.1 he.2.1 he.2.2 haxis |
| 152 | exact ⟨forcing, hc, hf⟩ |
| 153 | |
| 154 | /-- A full whole-space candidate, including a single kinetic-energy bound, |
| 155 | can be assembled from any selected schedule of these same actual sums. -/ |
| 156 | theorem selected_compact_candidate {a : ℕ → ℕ} (ha : Selected a) : |
| 157 | ∃ forcing : VelocityField, |
| 158 | NavierStokesR3.ProblemStatement.CandidateProperties 1 |
| 159 | (R3CompactCandidate.velocity (potentialSum a) (directSum a)) |
| 160 | (R3CompactCandidate.pressure (pressureSum a)) forcing |
| 161 | SpatialLocalization.supportCylinder := by |
| 162 | obtain ⟨forcing, hc, hf⟩ := selected_periodic_candidate ha |
| 163 | exact ⟨_, NavierStokesR3.ActualCandidate.of_localized_fields hc hf⟩ |
| 164 | |
| 165 | end NavierStokes.LocalScheduleWitness |