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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #138 chore(NavierStokes/Assembled): delete 19 unused wrappers, keep five results
7 commits
+0 −169 NavierStokes/AssembledSlowBase.lean View file
| @@ -47,30 +47,6 @@ theorem extendEven_pullback {S : Set ℝ} (w : ParametricRadialExtension.Paramet | ||
| 47 | 47 | extendEven w f (R ^ 2 / 2, eta) = f (R, eta) := |
| 48 | 48 | ParametricRadialExtension.extension_pullback w f.smooth (fun _ he r => f.even he r) R heta |
| 49 | 49 | |
| 50 | -theorem extendEven_germ {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 51 | - (f : EvenProfile S) {p : ℝ × ℝ} (hX : 0 < p.1) (heta : |p.2| < w.inner) : | |
| 52 | - extendEven w f =ᶠ[𝓝 p] xProfile f := by | |
| 53 | - filter_upwards [(isOpen_Ioi.prod isOpen_Ioo).mem_nhds ⟨hX, abs_lt.mp heta⟩] with q hq | |
| 54 | - exact extendEven_eq w f hq.1.le (abs_lt.mpr hq.2).le | |
| 55 | - | |
| 56 | -theorem extendEven_right_jets {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 57 | - (f : EvenProfile S) (m : ℕ) {X eta : ℝ} (hX : 0 ≤ X) (heta : |eta| ≤ w.inner) : | |
| 58 | - iteratedDeriv m (fun Y => extendEven w f (Y, eta)) X = | |
| 59 | - iteratedDerivWithin m (fun Y => xProfile f (Y, eta)) (Ici 0) X := | |
| 60 | - ParametricRadialExtension.extension_radial_jets w f.smooth (fun _ he R => f.even he R) m hX heta | |
| 61 | - | |
| 62 | -theorem extendEven_mixed_jets {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 63 | - (f : EvenProfile S) (m : ℕ) {p : ℝ × ℝ} | |
| 64 | - (hp : p ∈ Ici 0 ×ˢ Ioo (-w.inner) w.inner) : | |
| 65 | - iteratedFDeriv ℝ m (extendEven w f) p = | |
| 66 | - iteratedFDerivWithin ℝ m (xProfile f) (Ici 0 ×ˢ Ioo (-w.inner) w.inner) p := | |
| 67 | - ParametricRadialExtension.extension_mixed_jets w f.smooth (fun _ he R => f.even he R) m hp | |
| 68 | - | |
| 69 | -theorem extendEven_support {S : Set ℝ} (w : ParametricRadialExtension.ParameterWindow S) | |
| 70 | - (f : EvenProfile S) {B : ℝ} (hB : 0 ≤ B) (hs : Exterior B S f) : | |
| 71 | - tsupport (extendEven w f) ⊆ Icc (-1 : ℝ) (B ^ 2 / 2) ×ˢ Icc (-w.outer) w.outer := | |
| 72 | - ParametricRadialExtension.extension_tsupport w f.smooth (fun _ he R => f.even he R) hB hs | |
| 73 | - | |
| 74 | 50 | /-- For a profile already zero on a fixed axis neighborhood, remove the |
| 75 | 51 | unused negative-X extension without changing any physical value. -/ |
| 76 | 52 | noncomputable def extendCoreZero {S : Set ℝ} |
| @@ -133,23 +109,6 @@ theorem extendedCoefficient_eq {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) | ||
| 133 | 109 | extendedCoefficient s hI n i p = xProfile (component (profiles s n) i) p := |
| 134 | 110 | extendEven_eq _ _ hX (heta.trans (commonWindow s hI).one_lt_inner.le) |
| 135 | 111 | |
| 136 | -theorem extendedCoefficient_support {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) | |
| 137 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) : | |
| 138 | - tsupport (extendedCoefficient s hI n i) ⊆ | |
| 139 | - Icc (-1 : ℝ) (s.B ^ 2 / 2) ×ˢ Icc (-(commonWindow s hI).outer) (commonWindow s hI).outer := by | |
| 140 | - apply extendEven_support _ _ s.B_pos.le | |
| 141 | - fin_cases i | |
| 142 | - · exact profiles_phi_exterior s hn | |
| 143 | - · exact profiles_axial_exterior s n | |
| 144 | - · exact profiles_beta_exterior s n | |
| 145 | - · exact profiles_pressure_exterior s hn | |
| 146 | - | |
| 147 | -theorem extendedCoefficient_compactSupport {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) | |
| 148 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) : | |
| 149 | - HasCompactSupport (extendedCoefficient s hI n i) := | |
| 150 | - (isCompact_Icc.prod isCompact_Icc).of_isClosed_subset isClosed_closure | |
| 151 | - (extendedCoefficient_support s hI hn i) | |
| 152 | - | |
| 153 | 112 | theorem extendedCoefficient_zero_exterior {S : Set ℝ} {h C : ℝ} (s : Scheme S h C) |
| 154 | 113 | (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) {p : ℝ × ℝ} |
| 155 | 114 | (hp : s.B ^ 2 / 2 ≤ p.1) : extendedCoefficient s hI n i p = 0 := by |
| @@ -162,16 +121,6 @@ theorem extendedCoefficient_zero_exterior {S : Set ℝ} {h C : ℝ} (s : Scheme | ||
| 162 | 121 | · exact profiles_beta_exterior s n |
| 163 | 122 | · exact profiles_pressure_exterior s hn |
| 164 | 123 | |
| 165 | -theorem extendedCoefficient_inner {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} | |
| 166 | - {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} | |
| 167 | - {A : SlowRecursion.LocalHierarchy rho U h C base} | |
| 168 | - (L : Localization s A inner) (B0 : BaseAgreement s A inner) | |
| 169 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) {p : ℝ × ℝ} | |
| 170 | - (hX : 0 ≤ p.1) (hi : p.1 < inner) (heta : |p.2| ≤ 1) : | |
| 171 | - extendedCoefficient s hI n i p = SlowRecursion.profile (A.coefficients n (localIndex i)) p := by | |
| 172 | - rw [extendedCoefficient_eq s hI n i hX heta] | |
| 173 | - exact profiles_inner_eq L B0 hn i hX hi (hI (abs_le.mp heta)) | |
| 174 | - | |
| 175 | 124 | theorem extendedCoefficient_axis {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} |
| 176 | 125 | {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} |
| 177 | 126 | {A : SlowRecursion.LocalHierarchy rho U h C base} |
| @@ -183,19 +132,6 @@ theorem extendedCoefficient_axis {S : Set ℝ} {h C rho inner : ℝ} {U : Set | ||
| 183 | 132 | rw [mul_zero, Real.sqrt_zero] |
| 184 | 133 | exact profiles_axis_zero L B0 hn i (hI (abs_le.mp heta)) |
| 185 | 134 | |
| 186 | -theorem extendedCoefficient_axis_jets {S : Set ℝ} {h C rho inner : ℝ} {U : Set ℂ} | |
| 187 | - {base : Fin 5 → SimilarityProfile.InnerProfile} {s : Scheme S h C} | |
| 188 | - {A : SlowRecursion.LocalHierarchy rho U h C base} | |
| 189 | - (L : Localization s A inner) (B0 : BaseAgreement s A inner) | |
| 190 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) (i : Fin 4) (m : ℕ) {eta : ℝ} | |
| 191 | - (heta : |eta| ≤ 1) : | |
| 192 | - iteratedDeriv m (fun X => extendedCoefficient s hI n i (X, eta)) 0 = | |
| 193 | - iteratedDerivWithin m (fun X => SlowRecursion.profile (A.coefficients n (localIndex i)) (X, eta)) | |
| 194 | - (Ici 0) 0 := by | |
| 195 | - unfold extendedCoefficient | |
| 196 | - rw [extendEven_right_jets _ _ m le_rfl (heta.trans (commonWindow s hI).one_lt_inner.le)] | |
| 197 | - exact profiles_axis_right_jets L B0 hn i m (hI (abs_le.mp heta)) | |
| 198 | - | |
| 199 | 135 | /-- A profile smooth on a neighborhood of the nonnegative X half-plane |
| 200 | 136 | gives a genuine globally signed-radius even field by polynomial pullback. -/ |
| 201 | 137 | noncomputable def radialPullback {S : Set ℝ} {D : Set (ℝ × ℝ)} (F : Field) |
| @@ -379,16 +315,6 @@ theorem coefficients_fields_eq (Z0 : ZeroOrderSolved s inner) | ||
| 379 | 315 | ⟨extendedCoefficient_eq s hI n 0 hX heta, extendedCoefficient_eq s hI n 1 hX heta, |
| 380 | 316 | extendedCoefficient_eq s hI n 3 hX heta⟩ |
| 381 | 317 | |
| 382 | -theorem coefficients_fields_germ (Z0 : ZeroOrderSolved s inner) | |
| 383 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) (n : ℕ) {p : ℝ × ℝ} | |
| 384 | - (hX : 0 < p.1) (heta : |p.2| ≤ 1) : | |
| 385 | - (coefficients L B0 Z0 hI).phi n =ᶠ[𝓝 p] (asSlowProfiles s).phi n ∧ | |
| 386 | - (coefficients L B0 Z0 hI).axial n =ᶠ[𝓝 p] (asSlowProfiles s).axial n ∧ | |
| 387 | - (coefficients L B0 Z0 hI).pressure n =ᶠ[𝓝 p] (asSlowProfiles s).pressure n := | |
| 388 | - ⟨extendEven_germ _ _ hX (heta.trans_lt (commonWindow s hI).one_lt_inner), | |
| 389 | - extendEven_germ _ _ hX (heta.trans_lt (commonWindow s hI).one_lt_inner), | |
| 390 | - extendEven_germ _ _ hX (heta.trans_lt (commonWindow s hI).one_lt_inner)⟩ | |
| 391 | - | |
| 392 | 318 | theorem coefficients_stress_eq (Z0 : ZeroOrderSolved s inner) |
| 393 | 319 | (hI : Icc (-1 : ℝ) 1 ⊆ S) (n : ℕ) {w : ℝ × ℝ} |
| 394 | 320 | (hX : 0 ≤ w.1) (heta : |w.2| ≤ 1) : |
| @@ -616,15 +542,6 @@ theorem extended_axial_primitive_zero {h C : ℝ} (s : Scheme S h C) | ||
| 616 | 542 | rw [hr2] at he |
| 617 | 543 | exact he.symm.trans hm |
| 618 | 544 | |
| 619 | -theorem extended_axial_average_zero {h C : ℝ} (s : Scheme S h C) | |
| 620 | - (hI : Icc (-1 : ℝ) 1 ⊆ S) {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | |
| 621 | - (hX : s.B ^ 2 / 2 ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 622 | - ProfileHistories.average (extendedCoefficient s hI n 1) p = 0 := by | |
| 623 | - have hp : 0 < p.1 := (div_pos (sq_pos_of_pos s.B_pos) (by norm_num)).trans_le hX | |
| 624 | - have hm := extended_axial_primitive_zero s hI hn hX heta | |
| 625 | - rw [ProfileHistories.primitive_eq_mul_average] at hm | |
| 626 | - exact (mul_eq_zero.mp hm).resolve_left hp.ne' | |
| 627 | - | |
| 628 | 545 | end ActualFlux |
| 629 | 546 | |
| 630 | 547 | section FiniteBase |
| @@ -1014,9 +931,6 @@ noncomputable def nominalBaseData : | ||
| 1014 | 931 | ((ReservedPatches.radialLeft_pos F W.controls.radius W.controls.radius_pos .positive).trans hR.1)) (by norm_num))] |
| 1015 | 932 | exact (nominal_positive_patch W hR).2) |
| 1016 | 933 | |
| 1017 | -theorem nominalBaseData_beta : (nominalBaseData W d hD).fields.beta = | |
| 1018 | - betaFromU d 0 (nominalBaseData W d hD).fields.axial := rfl | |
| 1019 | - | |
| 1020 | 934 | end NominalBase |
| 1021 | 935 | |
| 1022 | 936 | section CoherentHierarchy |
| @@ -1343,16 +1257,6 @@ theorem nominalCoefficients_stress_eq {p : ℝ × ℝ} | ||
| 1343 | 1257 | coefficients_stress_eq (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) |
| 1344 | 1258 | (nominalParameters_contains W) n hp heta |
| 1345 | 1259 | |
| 1346 | -theorem nominal_extended_flux (n : ℕ) {p : ℝ × ℝ} (hX : 0 ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1347 | - p.1 * extendedCoefficient (nominalScheme W) (nominalParameters_contains W) n 2 p = | |
| 1348 | - SlowDivergence.radialFlux F.data.h (AxisSourceRegularity.slowOrder F.data.h n) | |
| 1349 | - ((nominalCoefficients W).axial n) p := by | |
| 1350 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1351 | - · have h := extended_flux_zero (nominalScheme W) (nominalParameters_contains W) rfl hX heta | |
| 1352 | - simp only [AxisSourceRegularity.slowOrder, Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1353 | - exact h | |
| 1354 | - · exact extended_flux (nominalScheme W) (nominalParameters_contains W) hn hX heta | |
| 1355 | - | |
| 1356 | 1260 | /-- A common smooth solenoidal physical base now follows from one actual |
| 1357 | 1261 | nominal witness, including the derived zero-order equations. -/ |
| 1358 | 1262 | theorem nominal_exists_base (lo hi : ℝ) (N : ℕ) : |
| @@ -1368,22 +1272,6 @@ theorem nominal_exists_base (lo hi : ℝ) (N : ℕ) : | ||
| 1368 | 1272 | SlowBorelBase.exists_base_fields W.axis.small.h_pos (by linarith [W.axis.small.h_le]) |
| 1369 | 1273 | (nominalCoefficients_smooth W) W.axis.normalization lo hi N |
| 1370 | 1274 | |
| 1371 | -theorem nominal_divergenceCoefficient (n : ℕ) {p : ℝ × ℝ} | |
| 1372 | - (hX : 0 < p.1) (heta : p.2 ∈ nominalParameters W) : | |
| 1373 | - SlowExpansionResidual.divergenceCoefficient F.data.h (asSlowProfiles (nominalScheme W)) n p = 0 := by | |
| 1374 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1375 | - · change SimilarityProfile.partialX | |
| 1376 | - (AxisSourceRegularity.axisFactor (xProfile (profiles (nominalScheme W) 0).beta)) p + | |
| 1377 | - SimilarityProfile.Z F.data.h | |
| 1378 | - (SlowExpansionResidual.axialExponent F.data.h + SlowExpansionResidual.slowOrder F.data.h 0) | |
| 1379 | - (xProfile (profiles (nominalScheme W) 0).axial) p = 0 | |
| 1380 | - rw [profiles_zero] | |
| 1381 | - have h := betaFromU_x_divergence (nominalDomain W) 0 (nominalScheme W).base.axial hX heta | |
| 1382 | - simp only [SlowExpansionResidual.axialExponent, SlowExpansionResidual.slowOrder, | |
| 1383 | - Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1384 | - exact h | |
| 1385 | - · exact profiles_divergenceCoefficient (nominalScheme W) hn hX heta | |
| 1386 | - | |
| 1387 | 1275 | theorem nominal_pressureCoefficient (n : ℕ) {p : ℝ × ℝ} |
| 1388 | 1276 | (hX : 0 < p.1) (heta : p.2 ∈ nominalParameters W) : |
| 1389 | 1277 | SlowExpansionResidual.pressureCoefficient F.data.h W.axis.normalization |
| @@ -1410,14 +1298,6 @@ theorem nominal_pressureCoefficient (n : ℕ) {p : ℝ × ℝ} | ||
| 1410 | 1298 | field_simp [W.axis.normalization_pos.ne'] ; ring |
| 1411 | 1299 | · exact profiles_pressureCoefficient (nominalScheme W) hn hX heta |
| 1412 | 1300 | |
| 1413 | -theorem nominal_densities_smooth (n : ℕ) : | |
| 1414 | - Smooth (nominalParameters W) | |
| 1415 | - (SlowResidualMatching.thetaDensity F.data.h W.axis.normalization (asSlowProfiles (nominalScheme W)) n) ∧ | |
| 1416 | - Smooth (nominalParameters W) | |
| 1417 | - (SlowResidualMatching.zDensity F.data.h (asSlowProfiles (nominalScheme W)) n) := | |
| 1418 | - ⟨thetaDensity_smooth (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) n, | |
| 1419 | - zDensity_smooth (nominalLocalization W) (nominalBaseAgreement W) (nominalZeroOrder W) n⟩ | |
| 1420 | - | |
| 1421 | 1301 | theorem nominalCoefficients_axis {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : |eta| ≤ 1) : |
| 1422 | 1302 | (nominalCoefficients W).phi n (0, eta) = 0 ∧ |
| 1423 | 1303 | (nominalCoefficients W).axial n (0, eta) = 0 ∧ |
| @@ -1429,14 +1309,6 @@ theorem nominalCoefficients_axis {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : |eta | ||
| 1429 | 1309 | extendedCoefficient_axis (nominalLocalization W) (nominalBaseAgreement W) |
| 1430 | 1310 | (nominalParameters_contains W) hn 3 heta⟩ |
| 1431 | 1311 | |
| 1432 | -theorem nominalCoefficients_compactSupport {n : ℕ} (hn : 0 < n) : | |
| 1433 | - HasCompactSupport ((nominalCoefficients W).phi n) ∧ | |
| 1434 | - HasCompactSupport ((nominalCoefficients W).axial n) ∧ | |
| 1435 | - HasCompactSupport ((nominalCoefficients W).pressure n) := | |
| 1436 | - ⟨extendedCoefficient_compactSupport (nominalScheme W) (nominalParameters_contains W) hn 0, | |
| 1437 | - extendedCoefficient_compactSupport (nominalScheme W) (nominalParameters_contains W) hn 1, | |
| 1438 | - extendedCoefficient_compactSupport (nominalScheme W) (nominalParameters_contains W) hn 3⟩ | |
| 1439 | - | |
| 1440 | 1312 | theorem nominalCoefficients_positive_exterior {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} |
| 1441 | 1313 | (hp : nominalOuterX W ≤ p.1) : |
| 1442 | 1314 | (nominalCoefficients W).phi n p = 0 ∧ (nominalCoefficients W).axial n p = 0 ∧ |
| @@ -1455,13 +1327,6 @@ theorem nominal_axial_primitive_zero {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | ||
| 1455 | 1327 | change nominalOuterRadius W ^ 2 / 2 ≤ p.1 |
| 1456 | 1328 | rwa [nominalOuterRadius_square] |
| 1457 | 1329 | |
| 1458 | -theorem nominal_axial_average_zero {n : ℕ} (hn : 0 < n) {p : ℝ × ℝ} | |
| 1459 | - (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1460 | - ProfileHistories.average ((nominalCoefficients W).axial n) p = 0 := by | |
| 1461 | - apply extended_axial_average_zero (nominalScheme W) (nominalParameters_contains W) hn _ heta | |
| 1462 | - change nominalOuterRadius W ^ 2 / 2 ≤ p.1 | |
| 1463 | - rwa [nominalOuterRadius_square] | |
| 1464 | - | |
| 1465 | 1330 | theorem nominal_exterior_base {p : ℝ × ℝ} (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : |
| 1466 | 1331 | W.U p = 0 ∧ W.profiles.M p = 0 := by |
| 1467 | 1332 | have hXp : 0 ≤ p.1 := (nominalOuterX_pos W).le.trans hX |
| @@ -1496,14 +1361,6 @@ theorem nominal_axial_primitive_zero_all (n : ℕ) {p : ℝ × ℝ} | ||
| 1496 | 1361 | exact (nominal_exterior_base W hX heta).2 |
| 1497 | 1362 | · exact nominal_axial_primitive_zero W hn hX heta |
| 1498 | 1363 | |
| 1499 | -theorem nominal_axial_average_zero_all (n : ℕ) {p : ℝ × ℝ} | |
| 1500 | - (hX : nominalOuterX W ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1501 | - ProfileHistories.average ((nominalCoefficients W).axial n) p = 0 := by | |
| 1502 | - have hp : 0 < p.1 := (nominalOuterX_pos W).trans_le hX | |
| 1503 | - have hm := nominal_axial_primitive_zero_all W n hX heta | |
| 1504 | - rw [ProfileHistories.primitive_eq_mul_average] at hm | |
| 1505 | - exact (mul_eq_zero.mp hm).resolve_left hp.ne' | |
| 1506 | - | |
| 1507 | 1364 | end CoherentHierarchy |
| 1508 | 1365 | |
| 1509 | 1366 | section ModifiedBase |
| @@ -1693,32 +1550,6 @@ theorem modifiedCoefficients_axis {n : ℕ} (hn : 0 < n) {eta : ℝ} (heta : |et | ||
| 1693 | 1550 | extendedCoefficient_axis (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) M.contains hn 1 heta, |
| 1694 | 1551 | extendedCoefficient_axis (modifiedLocalization W Q M) (modifiedBaseAgreement W Q M) M.contains hn 3 heta⟩ |
| 1695 | 1552 | |
| 1696 | -theorem modified_extended_flux (n : ℕ) {p : ℝ × ℝ} (hX : 0 ≤ p.1) (heta : |p.2| ≤ 1) : | |
| 1697 | - p.1 * extendedCoefficient (modifiedScheme W Q M) M.contains n 2 p = | |
| 1698 | - SlowDivergence.radialFlux F.data.h (AxisSourceRegularity.slowOrder F.data.h n) | |
| 1699 | - ((modifiedCoefficients W Q M).axial n) p := by | |
| 1700 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1701 | - · have h := extended_flux_zero (modifiedScheme W Q M) M.contains rfl hX heta | |
| 1702 | - simp only [AxisSourceRegularity.slowOrder, Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1703 | - exact h | |
| 1704 | - · exact extended_flux (modifiedScheme W Q M) M.contains hn hX heta | |
| 1705 | - | |
| 1706 | -theorem modified_divergenceCoefficient (n : ℕ) {p : ℝ × ℝ} | |
| 1707 | - (hX : 0 < p.1) (heta : p.2 ∈ S) : | |
| 1708 | - SlowExpansionResidual.divergenceCoefficient F.data.h (asSlowProfiles (modifiedScheme W Q M)) n p = 0 := by | |
| 1709 | - rcases Nat.eq_zero_or_pos n with rfl | hn | |
| 1710 | - · change SimilarityProfile.partialX | |
| 1711 | - (AxisSourceRegularity.axisFactor (xProfile (profiles (modifiedScheme W Q M) 0).beta)) p + | |
| 1712 | - SimilarityProfile.Z F.data.h | |
| 1713 | - (SlowExpansionResidual.axialExponent F.data.h + SlowExpansionResidual.slowOrder F.data.h 0) | |
| 1714 | - (xProfile (profiles (modifiedScheme W Q M) 0).axial) p = 0 | |
| 1715 | - rw [profiles_zero] | |
| 1716 | - have h := betaFromU_x_divergence (modifiedDomain W Q M) 0 (modifiedScheme W Q M).base.axial hX heta | |
| 1717 | - simp only [SlowExpansionResidual.axialExponent, SlowExpansionResidual.slowOrder, | |
| 1718 | - Nat.cast_zero, mul_zero, zero_mul] at h ⊢ | |
| 1719 | - exact h | |
| 1720 | - · exact profiles_divergenceCoefficient (modifiedScheme W Q M) hn hX heta | |
| 1721 | - | |
| 1722 | 1553 | theorem modified_pressureCoefficient (n : ℕ) {p : ℝ × ℝ} |
| 1723 | 1554 | (hX : 0 < p.1) (heta : p.2 ∈ S) : |
| 1724 | 1555 | SlowExpansionResidual.pressureCoefficient F.data.h W.axis.normalization |
+39 −0 routes/s1-ns-assembled-1/README.md added View file
| @@ -0,0 +1,39 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-assembled-1 | |
| 6 | + | |
| 7 | +Unit of #10 (S-1, delete declarations that nothing uses), the `NavierStokes/Assembled*` | |
| 8 | +family, file `NavierStokes/AssembledSlowBase.lean`: delete the 19 declarations that | |
| 9 | +nothing uses, 169 lines, from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, | |
| 10 | +upstream `f9e8bc5`), filtered by this project's rules. | |
| 11 | + | |
| 12 | +Five of Treant's 24 stay, because each states a result of the construction and is not a | |
| 13 | +restatement of another one (`AGENTS.md`, "Changes we don't want": deleting a result | |
| 14 | +because only the paper states it and no Lean theorem uses it): | |
| 15 | + | |
| 16 | +- `exists_assembled_base`: one actual coefficient family gives one schedule and one | |
| 17 | + smooth divergence-free physical base, with no scale bounds as hypotheses; the file's | |
| 18 | + namesake result. | |
| 19 | +- `nominal_exists_base` and `modified_exists_base`: the same fact for the nominal and the | |
| 20 | + modified witnesses; with them kept, `SlowBorelBase.exists_base_fields` keeps three | |
| 21 | + callers. | |
| 22 | +- `coefficients_stress_zero` and `coefficients_common_zero_core`: the coefficients vanish | |
| 23 | + on a common core, a step of the construction. | |
| 24 | + | |
| 25 | +The 19 deleted are wrappers, each a specialisation of a live result: `extendEven_germ`, | |
| 26 | +`extendEven_right_jets`, `extendEven_mixed_jets`, `extendEven_support`, | |
| 27 | +`extendedCoefficient_support`, `extendedCoefficient_compactSupport`, | |
| 28 | +`extendedCoefficient_inner`, `extendedCoefficient_axis_jets`, `coefficients_fields_germ`, | |
| 29 | +`extended_axial_average_zero`, `nominalBaseData_beta`, `nominal_extended_flux`, | |
| 30 | +`nominal_divergenceCoefficient`, `nominal_densities_smooth`, | |
| 31 | +`nominalCoefficients_compactSupport`, `nominal_axial_average_zero`, | |
| 32 | +`nominal_axial_average_zero_all`, `modified_extended_flux`, | |
| 33 | +`modified_divergenceCoefficient`. | |
| 34 | + | |
| 35 | +The unit covers the rest of the family's dead helpers; the declarations that state results | |
| 36 | +stay. Checked on the tree after the change: `git grep -n -w -- '*.lean'` finds none of the | |
| 37 | +19 short names in any Lean file (all 19 checked, not a sample); this note is the only | |
| 38 | +other tracked file that names them. The removed blocks contain no docstring, and no line | |
| 39 | +of a declaration that stays is changed. `python3 checks/challenge.py .` ends with `ok`. | |