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.PacketCorrectionSourceData |
| 2 | import Euler.PacketCorrectionMetricTime |
| 3 | |
| 4 | /-! A genuine inverse-metric budget for the source correction data. |
| 5 | Its time derivative, symmetry, coercivity and inverse identity are proved |
| 6 | from the prescribed deformation; the bounds are finite norms of actual |
| 7 | coefficient paths and their actual first translation derivative. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketCorrectionCoefficients |
| 12 | |
| 13 | open Set EulerSmoothLimit EulerPacketCylinderField EulerAllOrderCorrectionData |
| 14 | EulerCorrectionEnergyData EulerRegularizedMetricPaths EulerVolterraConvolution |
| 15 | EulerLpCylinderRectangular EulerMeanCoefficients EulerLiftedGradientSpace |
| 16 | EulerPacketProfileRecursion |
| 17 | open scoped BoundedContinuousFunction |
| 18 | |
| 19 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 20 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 21 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 22 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 23 | |
| 24 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 25 | (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] |
| 26 | |
| 27 | theorem inverseMetric_operatorPath_eq : |
| 28 | metricOperatorPath P D.T (inverseMetricTower D P).coefficient |
| 29 | (inverseMetricTower_continuous D P) = fullPathMap P (inverseMetricCoefficient D).path := by |
| 30 | apply ContinuousMap.ext |
| 31 | intro t |
| 32 | exact MatrixCoefficient.toCoefficientTower_operator P (inverseMetricCoefficient D) t |
| 33 | |
| 34 | theorem inverseMetric_operator_hasDerivAt (t : ℝ) (ht : t ∈ Ioo 0 D.T) : |
| 35 | HasDerivAt (extendPath D.T D.T_pos.le |
| 36 | (metricOperatorPath P D.T (inverseMetricTower D P).coefficient |
| 37 | (inverseMetricTower_continuous D P))) |
| 38 | (extendPath D.T D.T_pos.le (inverseMetricDerivativePath D P) t) t := by |
| 39 | rw [inverseMetric_operatorPath_eq] |
| 40 | have h := (inverseMetric_operator_hasDerivWithinAt D P |
| 41 | ⟨t,⟨ht.1.le,ht.2.le⟩⟩).hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 42 | simpa only [extendPath,projIcc_of_mem D.T_pos.le ⟨ht.1.le,ht.2.le⟩] using h |
| 43 | |
| 44 | def inverseMetricBound : ℝ := ‖(inverseMetricCoefficient D).path‖ |
| 45 | |
| 46 | def inverseMetricFirstBound : ℝ := |
| 47 | ‖iteratedFDeriv ℝ 1 (translateCoefficientPath (inverseMetricCoefficient D).path) 0‖ |
| 48 | |
| 49 | def inverseMetricTimeBound : ℝ := ‖(inverseMetricTimeCoefficient D).path‖ |
| 50 | |
| 51 | theorem inverseMetricBound_le : inverseMetricBound D ≤ ‖D.F.field‖^2 := by |
| 52 | apply (ContinuousMap.norm_le _ (sq_nonneg ‖D.F.field‖)).2 |
| 53 | intro t |
| 54 | apply (BoundedContinuousFunction.norm_le (sq_nonneg ‖D.F.field‖)).2 |
| 55 | intro x |
| 56 | rw [inverseMetricCoefficient_apply] |
| 57 | have hF : ‖D.F.field t x‖ ≤ ‖D.F.field‖ := |
| 58 | ((D.F.field t).norm_coe_le_norm x).trans (D.F.field.norm_coe_le_norm t) |
| 59 | calc |
| 60 | _ ≤ ‖(D.F.field t x).adjoint‖*‖D.F.field t x‖ := |
| 61 | ContinuousLinearMap.opNorm_comp_le _ _ |
| 62 | _ = ‖D.F.field t x‖*‖D.F.field t x‖ := by |
| 63 | rw [ContinuousLinearMap.adjoint.norm_map] |
| 64 | _ ≤ ‖D.F.field‖*‖D.F.field‖ := mul_le_mul hF hF (norm_nonneg _) (norm_nonneg _) |
| 65 | _ = _ := (pow_two _).symm |
| 66 | |
| 67 | theorem inverseMetricTimeBound_le : |
| 68 | inverseMetricTimeBound D ≤ 2*‖D.F.field‖*‖D.F₁.field‖ := by |
| 69 | apply (ContinuousMap.norm_le _ (by positivity)).2 |
| 70 | intro t |
| 71 | apply (BoundedContinuousFunction.norm_le (by positivity)).2 |
| 72 | intro x |
| 73 | rw [inverseMetricTimeCoefficient_apply] |
| 74 | have hF : ‖D.F.field t x‖ ≤ ‖D.F.field‖ := |
| 75 | ((D.F.field t).norm_coe_le_norm x).trans (D.F.field.norm_coe_le_norm t) |
| 76 | have hF₁ : ‖D.F₁.field t x‖ ≤ ‖D.F₁.field‖ := |
| 77 | ((D.F₁.field t).norm_coe_le_norm x).trans (D.F₁.field.norm_coe_le_norm t) |
| 78 | calc |
| 79 | _ ≤ ‖(D.F₁.field t x).adjoint.comp (D.F.field t x)‖ + |
| 80 | ‖(D.F.field t x).adjoint.comp (D.F₁.field t x)‖ := norm_add_le _ _ |
| 81 | _ ≤ ‖(D.F₁.field t x).adjoint‖*‖D.F.field t x‖ + |
| 82 | ‖(D.F.field t x).adjoint‖*‖D.F₁.field t x‖ := |
| 83 | add_le_add (ContinuousLinearMap.opNorm_comp_le _ _) (ContinuousLinearMap.opNorm_comp_le _ _) |
| 84 | _ = ‖D.F₁.field t x‖*‖D.F.field t x‖ + ‖D.F.field t x‖*‖D.F₁.field t x‖ := by |
| 85 | rw [ContinuousLinearMap.adjoint.norm_map,ContinuousLinearMap.adjoint.norm_map] |
| 86 | _ ≤ ‖D.F₁.field‖*‖D.F.field‖ + ‖D.F.field‖*‖D.F₁.field‖ := |
| 87 | add_le_add (mul_le_mul hF₁ hF (norm_nonneg _) (norm_nonneg _)) |
| 88 | (mul_le_mul hF hF₁ (norm_nonneg _) (norm_nonneg _)) |
| 89 | _ = _ := by ring |
| 90 | |
| 91 | /-- The actual source inverse metric supplies every field of the metric |
| 92 | budget at every finite Sobolev order. -/ |
| 93 | def sourceMetricBudget (κ : ℝ) (hκ : |κ| ≤ 1) |
| 94 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 95 | MetricBudget P D.T D.T_pos.le ((correctionData D P κ hκ Z G).atOrder P (q+1)) where |
| 96 | metric := (inverseMetricTower D P).coefficient |
| 97 | continuous := inverseMetricTower_continuous D P |
| 98 | derivative := inverseMetricDerivativePath D P |
| 99 | hasDeriv := inverseMetric_operator_hasDerivAt D P |
| 100 | c := D.inverseBound⁻¹ |
| 101 | c_pos := inv_pos.mpr D.inverseBound_pos |
| 102 | symmetric t x v w := inverseMetric_symmetric D t x.1 v w |
| 103 | coercive t x v := inverseMetric_coercive D t x.1 v |
| 104 | inverse t x v := inverseMetricTower_inverse D P t x v |
| 105 | bound := inverseMetricBound D |
| 106 | first := inverseMetricFirstBound D |
| 107 | time := inverseMetricTimeBound D |
| 108 | bound_nonneg := norm_nonneg _ |
| 109 | first_nonneg := norm_nonneg _ |
| 110 | time_nonneg := norm_nonneg _ |
| 111 | bound_le t := (inverseMetricCoefficient D).path.norm_coe_le_norm t |
| 112 | first_le _ := le_rfl |
| 113 | time_le t := inverseMetricDerivativePath_norm D P t |
| 114 | |
| 115 | def sourceMetricBudgetOfFields (κ : ℝ) (hκ : |κ| ≤ 1) |
| 116 | {z r : VectorField} (Z : Field P D.T z) (G : Field P D.T r) (q : ℕ) : |
| 117 | MetricBudget P D.T D.T_pos.le |
| 118 | ((correctionDataOfFields D P κ hκ Z G).atOrder P (q+1)) := |
| 119 | sourceMetricBudget D P κ hκ Z.toFieldTower G.toFieldTower q |
| 120 | |
| 121 | @[simp] theorem sourceMetricBudget_metric (κ : ℝ) (hκ : |κ| ≤ 1) |
| 122 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 123 | (sourceMetricBudget D P κ hκ Z G q).metric = (inverseMetricTower D P).coefficient := rfl |
| 124 | |
| 125 | @[simp] theorem sourceMetricBudget_derivative (κ : ℝ) (hκ : |κ| ≤ 1) |
| 126 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 127 | (sourceMetricBudget D P κ hκ Z G q).derivative = inverseMetricDerivativePath D P := rfl |
| 128 | |
| 129 | @[simp] theorem sourceMetricBudget_c (κ : ℝ) (hκ : |κ| ≤ 1) |
| 130 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 131 | (sourceMetricBudget D P κ hκ Z G q).c = D.inverseBound⁻¹ := rfl |
| 132 | |
| 133 | theorem sourceMetricBudget_bound_le (κ : ℝ) (hκ : |κ| ≤ 1) |
| 134 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 135 | (sourceMetricBudget D P κ hκ Z G q).bound ≤ ‖D.F.field‖^2 := |
| 136 | inverseMetricBound_le D |
| 137 | |
| 138 | theorem sourceMetricBudget_time_le (κ : ℝ) (hκ : |κ| ≤ 1) |
| 139 | (Z G : FieldTower P D.T) (q : ℕ) : |
| 140 | (sourceMetricBudget D P κ hκ Z G q).time ≤ 2*‖D.F.field‖*‖D.F₁.field‖ := |
| 141 | inverseMetricTimeBound_le D |
| 142 | |
| 143 | end EulerPacketCorrectionCoefficients |