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.ActualSignedPhysicalBinding |
| 2 | import NavierStokes.ActualWaveRegularityData |
| 3 | import NavierStokes.InitialPhysicalData |
| 4 | |
| 5 | /-! |
| 6 | # Localization of the actual signed inputs at positive native time |
| 7 | |
| 8 | The fixed primary's mask and target localize its native point. Positive |
| 9 | native time is an explicit premise; no support assertion is made for the |
| 10 | totalized formulas outside that domain. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.PositiveTimeSignedLocalization |
| 16 | |
| 17 | open Set Function |
| 18 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 19 | |
| 20 | abbrev Label := ActualSignedPhysicalBinding.Label |
| 21 | abbrev Native := ActualSignedPhysicalData.Native |
| 22 | |
| 23 | variable {B N0 : ℕ} |
| 24 | |
| 25 | theorem profileRadius_eq (y : Native) : |
| 26 | PrimaryTargetBounds.profileRadius h (ActualSignedPhysicalData.nativeSlow y) = |
| 27 | y.1 / Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) := by |
| 28 | rw [PrimaryTargetBounds.profileRadius, BaseChartJets.normalizedCoordinates_eq] |
| 29 | rfl |
| 30 | |
| 31 | /-- The actual dyadic mask is supported strictly inside its two endpoints. -/ |
| 32 | theorem mask_q_mem (l : Label B N0) (y : Native) |
| 33 | (hm : (ActualSignedPhysicalBinding.primary l).mask |
| 34 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) : |
| 35 | SimilarityCoordinates.coordinateQ (2 * h) y.2.1 ∈ Ioo (1 / 2 : ℝ) 2 := by |
| 36 | exact spatialMask_q_range l.1 (ActualSignedPhysicalData.nativeSlow y) hm |
| 37 | |
| 38 | /-- Positivity comes from the same chosen prepared carrier, without an |
| 39 | additional nondegeneracy premise on the signed output. -/ |
| 40 | theorem mask_radius_pos (l : Label B N0) (y : Native) (hT : 0 < y.2.1.1) |
| 41 | (hm : (ActualSignedPhysicalBinding.primary l).mask |
| 42 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) : |
| 43 | 0 < y.1 := by |
| 44 | exact (choice B N0).prepared.radius_pos l.1 (ActualSignedPhysicalData.nativeSlow y) |
| 45 | (spatialMask_carrier l.1 hT hm) |
| 46 | |
| 47 | /-- Nonzero actual target forces the normalized radius into the open |
| 48 | nominal active annulus. The endpoint zeros are used exactly. -/ |
| 49 | theorem normalized_radius_mem (l : Label B N0) (y : Native) (hT : 0 < y.2.1.1) |
| 50 | (hm : (ActualSignedPhysicalBinding.primary l).mask |
| 51 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) |
| 52 | (ht : (ActualSignedPhysicalBinding.primary l).target |
| 53 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) : |
| 54 | y.1 / Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) ∈ |
| 55 | Ioo (PrimaryTargetBounds.leftRadius nominal) (PrimaryTargetBounds.rightRadius nominal) := by |
| 56 | by_contra ho |
| 57 | have hz := ActualWaveRegularityData.target_zero_outside |
| 58 | (p := ActualSignedPhysicalData.nativeSlow y) hT (mask_radius_pos l y hT hm) |
| 59 | (by simpa only [profileRadius_eq] using ho) |
| 60 | apply ht |
| 61 | change (fun j => PrimaryTargetBounds.actualTarget modulation |
| 62 | (ActualSignedPhysicalData.nativeSlow y) j) = 0 |
| 63 | simp only [hz, WithLp.ofLp_zero, Pi.zero_apply] |
| 64 | rfl |
| 65 | |
| 66 | /-- The inequalities in the positive-time localization interface. -/ |
| 67 | theorem normalized_bounds (l : Label B N0) (y : Native) (hT : 0 < y.2.1.1) |
| 68 | (hm : (ActualSignedPhysicalBinding.primary l).mask |
| 69 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) |
| 70 | (ht : (ActualSignedPhysicalBinding.primary l).target |
| 71 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) : |
| 72 | 1 / 2 ≤ SimilarityCoordinates.coordinateQ (2 * h) y.2.1 ∧ |
| 73 | SimilarityCoordinates.coordinateQ (2 * h) y.2.1 ≤ 2 ∧ |
| 74 | PrimaryTargetBounds.leftRadius nominal ≤ |
| 75 | y.1 / Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) ∧ |
| 76 | y.1 / Real.sqrt (SimilarityCoordinates.coordinateQ (2 * h) y.2.1) ≤ |
| 77 | PrimaryTargetBounds.rightRadius nominal := |
| 78 | ⟨(mask_q_mem l y hm).1.le, (mask_q_mem l y hm).2.le, |
| 79 | (normalized_radius_mem l y hT hm ht).1.le, (normalized_radius_mem l y hT hm ht).2.le⟩ |
| 80 | |
| 81 | /-- Membership is in the actual moving strip, with the same fixed primary |
| 82 | annulus and slow region used by the native signed estimates. -/ |
| 83 | theorem native_mem_strip (l : Label B N0) (y : Native) (hT : 0 < y.2.1.1) |
| 84 | (hm : (ActualSignedPhysicalBinding.primary l).mask |
| 85 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) |
| 86 | (ht : (ActualSignedPhysicalBinding.primary l).target |
| 87 | (ActualSignedPhysicalBinding.reference l) (ActualSignedPhysicalData.nativeCylinder y) ≠ 0) : |
| 88 | y ∈ ActualPrimaryBounds.strip.domain := by |
| 89 | apply (BaseContextAssembly.nativeStrip_mem nominal ActualPrimaryBounds.region y).mpr |
| 90 | refine ⟨⟨hT, mask_q_mem l y hm⟩, ?_⟩ |
| 91 | change PrimaryTargetBounds.profileRadius h (ActualSignedPhysicalData.nativeSlow y) ∈ _ |
| 92 | rw [profileRadius_eq] |
| 93 | exact normalized_radius_mem l y hT hm ht |
| 94 | |
| 95 | /-- The same selected mask pulls back to the literal physical label mask |
| 96 | at every preterminal Cartesian point. -/ |
| 97 | theorem mask_pullback (l : Label B N0) (w : ProblemStatement.SpaceTime) |
| 98 | (hw : w ∈ PhysicalWaveSum.preterminal) : |
| 99 | (ActualSignedPhysicalBinding.primary l).mask (ActualSignedPhysicalBinding.reference l) |
| 100 | (ActualSignedPhysicalData.cylinderZero |
| 101 | (PhysicalGraphBounds.physicalLift h (ActualSignedPhysicalBinding.reference l) w)) = |
| 102 | PhysicalWaveSum.physicalMask (CoordinateAlgebra.D h) |
| 103 | (ActualSignedPhysicalBinding.spatialLabel l) (PhysicalWaveSum.physicalParams h w) := by |
| 104 | have hm := InitialPhysicalData.spatialMask_physical (l.2, l.1) 0 hw |
| 105 | rw [ActualSignedPhysicalData.commonLift_zero] at hm |
| 106 | exact hm |
| 107 | |
| 108 | end NavierStokes.PositiveTimeSignedLocalization |