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 Euler.TransversePacketPrimaryPaths |
| 2 | import Euler.TransversePacketHomogeneity |
| 3 | |
| 4 | /-! Exact scalar homogeneity of the actual compact terminal-data primary. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerTransversePacketProvider.InitialData |
| 9 | |
| 10 | open EulerLpCylinderTranslation EulerCylinderAngleAverage |
| 11 | |
| 12 | variable {P : ℝ} [Fact (0 < P)] |
| 13 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] {D : Data U} |
| 14 | |
| 15 | def smul (Y : InitialData P D) (a : ℝ) : InitialData P D where |
| 16 | value := a • Y.value |
| 17 | orbit := by simpa only [Submodule.coe_smul_of_tower,map_smul] using Y.orbit.const_smul a |
| 18 | mean_zero := by |
| 19 | change average P (a • (Y.value : CylinderL2 P U)) = 0 |
| 20 | rw [map_smul,Y.mean_zero,smul_zero] |
| 21 | |
| 22 | end EulerTransversePacketProvider.InitialData |
| 23 | |
| 24 | namespace EulerTransversePacketPrimary |
| 25 | |
| 26 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 27 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerTransversePacketProvider |
| 28 | |
| 29 | variable {P : ℝ} [Fact (0 < P)] |
| 30 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 31 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 32 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y Z : InitialData P D) |
| 33 | (a : ℝ) (h : Z.value = a • Y.value) |
| 34 | |
| 35 | include h |
| 36 | |
| 37 | theorem forwardInitial_eq_smul : (forwardInitial τ hτ hτT B Z).value = |
| 38 | a • (forwardInitial τ hτ hτT B Y).value := by |
| 39 | apply Subtype.ext |
| 40 | change B.coefficients.endpointCoordinate P (Z.value : CylinderL2 P U) ⟨τ,hτ.le,le_rfl⟩ = |
| 41 | a • B.coefficients.endpointCoordinate P (Y.value : CylinderL2 P U) ⟨τ,hτ.le,le_rfl⟩ |
| 42 | have he : (Z.value : CylinderL2 P U) = a • (Y.value : CylinderL2 P U) := congrArg Subtype.val h |
| 43 | rw [he,map_smul,ContinuousMap.smul_apply] |
| 44 | |
| 45 | theorem pastVelocity_eq_smul : pastVelocity τ hτ hτT B Z = a • pastVelocity τ hτ hτT B Y := by |
| 46 | change B.coefficients.endpointVelocity P (Z.value : CylinderL2 P U) = |
| 47 | a • B.coefficients.endpointVelocity P (Y.value : CylinderL2 P U) |
| 48 | have he : (Z.value : CylinderL2 P U) = a • (Y.value : CylinderL2 P U) := congrArg Subtype.val h |
| 49 | rw [he,map_smul] |
| 50 | |
| 51 | theorem pastDerivative_eq_smul : pastDerivative τ hτ hτT B Z = a • pastDerivative τ hτ hτT B Y := by |
| 52 | change B.coefficients.endpointDerivative P (Z.value : CylinderL2 P U) = |
| 53 | a • B.coefficients.endpointDerivative P (Y.value : CylinderL2 P U) |
| 54 | have he : (Z.value : CylinderL2 P U) = a • (Y.value : CylinderL2 P U) := congrArg Subtype.val h |
| 55 | rw [he,map_smul] |
| 56 | |
| 57 | theorem futureVelocity_eq_smul : futureVelocity τ hτ hτT B Z = a • futureVelocity τ hτ hτT B Y := by |
| 58 | unfold futureVelocity |
| 59 | rw [(zeroForcing (D.tail τ hτ.le hτT)).velocityPath_eq_smul |
| 60 | (zeroForcing (D.tail τ hτ.le hτT)) |
| 61 | (forwardInitial τ hτ hτT B Y) (forwardInitial τ hτ hτT B Z) a |
| 62 | (by |
| 63 | apply ContinuousMap.ext |
| 64 | intro t |
| 65 | apply Subtype.ext |
| 66 | change (0 : CylinderL2 P Space) = a • 0 |
| 67 | exact (smul_zero a).symm) (forwardInitial_eq_smul τ hτ hτT B Y Z a h)] |
| 68 | exact (includePath P D.support D.support_measurable).map_smul a _ |
| 69 | |
| 70 | theorem futureDerivative_eq_smul : futureDerivative τ hτ hτT B Z = a • futureDerivative τ hτ hτT B Y := by |
| 71 | unfold futureDerivative |
| 72 | rw [(zeroForcing (D.tail τ hτ.le hτT)).derivativePath_eq_smul |
| 73 | (zeroForcing (D.tail τ hτ.le hτT)) |
| 74 | (forwardInitial τ hτ hτT B Y) (forwardInitial τ hτ hτT B Z) a |
| 75 | (by |
| 76 | apply ContinuousMap.ext |
| 77 | intro t |
| 78 | apply Subtype.ext |
| 79 | change (0 : CylinderL2 P Space) = a • 0 |
| 80 | exact (smul_zero a).symm) (forwardInitial_eq_smul τ hτ hτT B Y Z a h)] |
| 81 | exact (includePath P D.support D.support_measurable).map_smul a _ |
| 82 | |
| 83 | theorem velocityPath_eq_smul : velocityPath τ hτ hτT B Z = a • velocityPath τ hτ hτT B Y := by |
| 84 | apply ContinuousMap.ext |
| 85 | intro t |
| 86 | rw [ContinuousMap.smul_apply] |
| 87 | by_cases ht : (t : ℝ) ≤ τ |
| 88 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 89 | rw [velocityPath_left τ hτ hτT B Z th,velocityPath_left τ hτ hτT B Y th, |
| 90 | pastVelocity_eq_smul τ hτ hτT B Y Z a h,ContinuousMap.smul_apply] |
| 91 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 92 | rw [velocityPath_right τ hτ hτT B Z tr,velocityPath_right τ hτ hτT B Y tr, |
| 93 | futureVelocity_eq_smul τ hτ hτT B Y Z a h,ContinuousMap.smul_apply] |
| 94 | |
| 95 | theorem derivativePath_eq_smul : derivativePath τ hτ hτT B Z = a • derivativePath τ hτ hτT B Y := by |
| 96 | apply ContinuousMap.ext |
| 97 | intro t |
| 98 | rw [ContinuousMap.smul_apply] |
| 99 | by_cases ht : (t : ℝ) ≤ τ |
| 100 | · let th : Icc (0 : ℝ) τ := ⟨t,t.property.1,ht⟩ |
| 101 | rw [derivativePath_left τ hτ hτT B Z th,derivativePath_left τ hτ hτT B Y th, |
| 102 | pastDerivative_eq_smul τ hτ hτT B Y Z a h,ContinuousMap.smul_apply] |
| 103 | · let tr : Icc τ D.T := ⟨t,(not_le.mp ht).le,t.property.2⟩ |
| 104 | rw [derivativePath_right τ hτ hτT B Z tr,derivativePath_right τ hτ hτT B Y tr, |
| 105 | futureDerivative_eq_smul τ hτ hτT B Y Z a h,ContinuousMap.smul_apply] |
| 106 | |
| 107 | end EulerTransversePacketPrimary |