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.ActualSignedExterior |
| 2 | |
| 3 | /-! |
| 4 | # Reference geometry of the actual signed family |
| 5 | |
| 6 | Every singleton retains the original primary label, phase, native view, |
| 7 | and current-state request. Reindexing its dependent payload changes only |
| 8 | the proof of the reference-band equality. The seven reference-geometry |
| 9 | fields below come from these primitive identities; no equality of output |
| 10 | physical fields or native regularity is assumed. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace NavierStokes.ActualSignedReferenceGeometry |
| 16 | |
| 17 | open Set Function CorrectionState CorrectionInitialization |
| 18 | open CorrectionInitialization.ActualPrimary |
| 19 | |
| 20 | |
| 21 | abbrev Label := ActualSignedPhysicalBinding.Label |
| 22 | |
| 23 | variable {B N0 : ℕ} |
| 24 | |
| 25 | theorem singleton_index_eq (f : DependentSignedPhysicalFamily.Family) |
| 26 | (L : ActualSignedPhysicalData.NativeLabel f.active) |
| 27 | (K : ActualSignedPhysicalData.NativeLabel (f.singleton L).active) : |
| 28 | K = f.singletonLabel L := by |
| 29 | apply ActualSignedExterior.nativeLabel_ext |
| 30 | exact f.singleton_label_val L K |
| 31 | |
| 32 | theorem reband_exponent {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| 33 | {P : PhysicalSignedWave.PrimaryData U} {n m : ℕ} (he : n = m) |
| 34 | (V : P.Views n) (s : V.StateData) : |
| 35 | (ActualSignedExterior.rebandPayload he V s).1.exponent = V.exponent := by |
| 36 | cases he |
| 37 | rfl |
| 38 | |
| 39 | theorem reband_scale {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| 40 | {P : PhysicalSignedWave.PrimaryData U} {n m : ℕ} (he : n = m) |
| 41 | (V : P.Views n) (s : V.StateData) : |
| 42 | (ActualSignedExterior.rebandPayload he V s).1.referenceScale = V.referenceScale := by |
| 43 | cases he |
| 44 | rfl |
| 45 | |
| 46 | theorem reband_cover {U : PhaseJetBounds.Domain ℕ PhaseCalculus.Slow} |
| 47 | {P : PhysicalSignedWave.PrimaryData U} {n m : ℕ} (he : n = m) |
| 48 | (V : P.Views n) (s : V.StateData) : |
| 49 | (ActualSignedExterior.rebandPayload he V s).1.referenceCover = V.referenceCover := by |
| 50 | cases he |
| 51 | rfl |
| 52 | |
| 53 | /-- The geometric part is uniform over native state families. The sole |
| 54 | state-dependent primitive here is angular invariance of the request. |
| 55 | `singletonGeometry` below constructs it for the actual measured request. -/ |
| 56 | noncomputable def singletonGeometryOfAngular |
| 57 | (s : ∀ l : Label B N0, (ActualSignedPhysicalBinding.nativeViews l).StateData) |
| 58 | (ha : ∀ l, (ActualSignedPhysicalBinding.primary l).Angular |
| 59 | (s l).referenceRequest (ActualSignedPhysicalBinding.reference l)) |
| 60 | (L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.family s).active) : |
| 61 | ActualSignedPhysicalData.ReferenceGeometry (h := h) slots |
| 62 | ((ActualSignedExterior.family s).singleton L) where |
| 63 | frequency K := by |
| 64 | rw [singleton_index_eq (ActualSignedExterior.family s) L K] |
| 65 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).base.frequency |
| 66 | L.val.1 = _ |
| 67 | erw [ActualSignedPhysicalBinding.primary_frequency, ActualSignedExterior.actualLabel_reference] |
| 68 | rfl |
| 69 | phase K := by |
| 70 | rw [singleton_index_eq (ActualSignedExterior.family s) L K] |
| 71 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).base.phase |
| 72 | L.val.1 = _ |
| 73 | rw [ActualSignedPhysicalBinding.primary_phase] |
| 74 | have hl : ActualSignedPhysicalBinding.spatialLabel (ActualSignedExterior.actualLabel L) = L.val := |
| 75 | congrArg Subtype.val (ActualSignedExterior.bandLabel_actualLabel L) |
| 76 | erw [hl, ActualSignedExterior.actualLabel_reference] |
| 77 | rfl |
| 78 | angular K := by |
| 79 | rw [singleton_index_eq (ActualSignedExterior.family s) L K] |
| 80 | change (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).Angular |
| 81 | (((ActualSignedExterior.family s).singleton L).state |
| 82 | ((ActualSignedExterior.family s).singletonLabel L)).referenceRequest L.val.1 |
| 83 | erw [DependentSignedPhysicalFamily.Family.singleton_referenceRequest, |
| 84 | ActualSignedExterior.family_referenceRequest, ← ActualSignedExterior.actualLabel_reference L] |
| 85 | exact ha (ActualSignedExterior.actualLabel L) |
| 86 | chart K := by |
| 87 | rw [singleton_index_eq (ActualSignedExterior.family s) L K] |
| 88 | change PhysicalSignedWave.ChartGeometry |
| 89 | (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).base |
| 90 | (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).strip |
| 91 | (ActualSignedPhysicalBinding.primary (ActualSignedExterior.actualLabel L)).directions |
| 92 | L.val.1 h (ChartScales.Q L.val.1) (ChartScales.nativeIndex h L.val.1) |
| 93 | simpa only [ActualSignedExterior.actualLabel_reference L] using |
| 94 | ActualSignedPhysicalBinding.primary_chart (ActualSignedExterior.actualLabel L) L.val.1 |
| 95 | exponent K := by |
| 96 | rw [singleton_index_eq (ActualSignedExterior.family s) L K] |
| 97 | change (ActualSignedExterior.payload s L).1.exponent = h |
| 98 | erw [ActualSignedExterior.payload, reband_exponent] |
| 99 | rfl |
| 100 | scale K := by |
| 101 | rw [singleton_index_eq (ActualSignedExterior.family s) L K] |
| 102 | change (ActualSignedExterior.payload s L).1.referenceScale = ChartScales.Q L.val.1 |
| 103 | erw [ActualSignedExterior.payload, reband_scale] |
| 104 | change ChartScales.Q (ActualSignedPhysicalBinding.reference (ActualSignedExterior.actualLabel L)) = _ |
| 105 | erw [ActualSignedExterior.actualLabel_reference] |
| 106 | cover K := by |
| 107 | rw [singleton_index_eq (ActualSignedExterior.family s) L K] |
| 108 | change (ActualSignedExterior.payload s L).1.referenceCover = ChartScales.nativeIndex h L.val.1 |
| 109 | erw [ActualSignedExterior.payload, reband_cover] |
| 110 | change ChartScales.nativeIndex h |
| 111 | (ActualSignedPhysicalBinding.reference (ActualSignedExterior.actualLabel L)) = _ |
| 112 | erw [ActualSignedExterior.actualLabel_reference] |
| 113 | |
| 114 | /-- All seven fields for the canonical measured-request family, retaining |
| 115 | the actual current state and the same prepared primary choice. -/ |
| 116 | noncomputable def singletonGeometry (P : SignedStressPrimitive.Patch) |
| 117 | (u : State LocalSignedRequest.Point) |
| 118 | (H : MeanStateRegularity.PrimitiveData standardRegion P.a P.b (commonContext B) u) |
| 119 | (hp : GaugeMomentBalances.MovingField standardRegion P.a P.b u.pressure) |
| 120 | (L : ActualSignedPhysicalData.NativeLabel |
| 121 | (ActualSignedExterior.family (fun l : Label B N0 => |
| 122 | ActualSignedPhysicalBinding.nativeStateData l P u H hp)).active) : |
| 123 | ActualSignedPhysicalData.ReferenceGeometry (h := h) slots |
| 124 | ((ActualSignedExterior.family (fun l : Label B N0 => |
| 125 | ActualSignedPhysicalBinding.nativeStateData l P u H hp)).singleton L) := |
| 126 | singletonGeometryOfAngular _ |
| 127 | (fun l => ActualSignedPhysicalBinding.primaryAngular l P u H hp) L |
| 128 | |
| 129 | /-- Original-label form, suitable for the per-label current-chart |
| 130 | coherence theorems. -/ |
| 131 | noncomputable def nativeSingletonGeometry (P : SignedStressPrimitive.Patch) |
| 132 | (u : State LocalSignedRequest.Point) |
| 133 | (H : MeanStateRegularity.PrimitiveData standardRegion P.a P.b (commonContext B) u) |
| 134 | (hp : GaugeMomentBalances.MovingField standardRegion P.a P.b u.pressure) |
| 135 | (l : Label B N0) : |
| 136 | ActualSignedPhysicalData.ReferenceGeometry (h := h) slots |
| 137 | ((ActualSignedExterior.family (fun k : Label B N0 => |
| 138 | ActualSignedPhysicalBinding.nativeStateData k P u H hp)).singleton |
| 139 | (ActualSignedExterior.nativeLabel l)) := |
| 140 | singletonGeometry P u H hp (ActualSignedExterior.nativeLabel l) |
| 141 | |
| 142 | section Cycle |
| 143 | |
| 144 | variable (x : CorrectionStep.CycleState (Label B N0)) |
| 145 | (H : MeanStateRegularity.PrimitiveData standardRegion ActualInitialization.patch.a |
| 146 | ActualInitialization.patch.b (commonContext B) |
| 147 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 148 | x.coefficients (commonContext B) x.state)) |
| 149 | (hp : GaugeMomentBalances.MovingField standardRegion ActualInitialization.patch.a |
| 150 | ActualInitialization.patch.b |
| 151 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 152 | x.coefficients (commonContext B) x.state).pressure) |
| 153 | |
| 154 | /-- The actual post-particular cycle family is definitionally the same |
| 155 | family used above, including its state and request. -/ |
| 156 | noncomputable def cycleSingletonGeometry |
| 157 | (L : ActualSignedPhysicalData.NativeLabel (ActualSignedExterior.cycleFamily x H hp).active) : |
| 158 | ActualSignedPhysicalData.ReferenceGeometry (h := h) slots |
| 159 | ((ActualSignedExterior.cycleFamily x H hp).singleton L) := |
| 160 | singletonGeometry ActualInitialization.patch |
| 161 | ((ActualCycleParameters.fixedParameters B N0).afterParticular |
| 162 | x.coefficients (commonContext B) x.state) H hp L |
| 163 | |
| 164 | noncomputable def cycleNativeGeometry (l : Label B N0) : |
| 165 | ActualSignedPhysicalData.ReferenceGeometry (h := h) slots |
| 166 | ((ActualSignedExterior.cycleFamily x H hp).singleton (ActualSignedExterior.nativeLabel l)) := |
| 167 | cycleSingletonGeometry x H hp (ActualSignedExterior.nativeLabel l) |
| 168 | |
| 169 | end Cycle |
| 170 | |
| 171 | end NavierStokes.ActualSignedReferenceGeometry |