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.CylinderGraphRealization |
| 2 | import Euler.GraphPressurePotential |
| 3 | |
| 4 | /-! The actual physical graph field is smooth. Its ordinary spatial |
| 5 | derivative tensors are bounded by cylinder derivative words, with an |
| 6 | explicit polynomial frequency loss. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerCylinderPhysicalTensor |
| 11 | |
| 12 | open Set MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerMetricTransport |
| 13 | EulerCylinderCoordinates EulerCylinderSobolev EulerGraphPullback |
| 14 | EulerGraphPressurePotential EulerSobolev |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | def graphCoordinates (k : ℝ) (m : Vector3) : Vector3 →L[ℝ] Domain 4 := |
| 18 | coordinateEquiv.symm.toContinuousLinearMap.comp (graphMap k m) |
| 19 | |
| 20 | @[simp] theorem coordinateEquiv_graphCoordinates (k : ℝ) (m x : Vector3) : |
| 21 | coordinateEquiv (graphCoordinates k m x) = graphMap k m x := |
| 22 | coordinateEquiv.apply_symm_apply _ |
| 23 | |
| 24 | def frequencyFactor (k : ℝ) (m : Vector3) : ℝ := |
| 25 | ‖coordinateEquiv.symm.toContinuousLinearMap‖*(1+|k| * ‖m‖) |
| 26 | |
| 27 | theorem frequencyFactor_nonneg (k : ℝ) (m : Vector3) : 0 ≤ frequencyFactor k m := by |
| 28 | unfold frequencyFactor |
| 29 | positivity |
| 30 | |
| 31 | theorem graphMap_norm_le (k : ℝ) (m : Vector3) : ‖graphMap k m‖ ≤ 1+|k| * ‖m‖ := by |
| 32 | apply (graphMap k m).opNorm_le_bound (by positivity) |
| 33 | intro x |
| 34 | rw [graphMap_apply,Prod.norm_def] |
| 35 | apply max_le |
| 36 | · nlinarith [norm_nonneg x,mul_nonneg (abs_nonneg k) (norm_nonneg m)] |
| 37 | · have hi := norm_inner_le_norm (𝕜 := ℝ) m x |
| 38 | rw [norm_mul,Real.norm_eq_abs] |
| 39 | calc |
| 40 | |k| * ‖inner ℝ m x‖ ≤ |k| * (‖m‖*‖x‖) := mul_le_mul_of_nonneg_left hi (abs_nonneg k) |
| 41 | _ ≤ (1+|k| * ‖m‖)*‖x‖ := by nlinarith [norm_nonneg x] |
| 42 | |
| 43 | theorem graphCoordinates_norm_le (k : ℝ) (m : Vector3) : |
| 44 | ‖graphCoordinates k m‖ ≤ frequencyFactor k m := |
| 45 | (ContinuousLinearMap.opNorm_comp_le _ _).trans |
| 46 | (mul_le_mul_of_nonneg_left (graphMap_norm_le k m) (norm_nonneg _)) |
| 47 | |
| 48 | variable (P : ℝ) [Fact (0 < P)] |
| 49 | |
| 50 | def physicalField (k : ℝ) (m : Vector3) (f : LiftDomain P → Vector3) : Vector3 → Vector3 := |
| 51 | fun x => f (cylinderGraph P k m x) |
| 52 | |
| 53 | omit [Fact (0 < P)] in |
| 54 | theorem physicalField_eq_euclidean (k : ℝ) (m : Vector3) (f : LiftDomain P → Vector3) : |
| 55 | physicalField P k m f = euclideanLift P f 0 ∘ graphCoordinates k m := by |
| 56 | funext x |
| 57 | simp only [Function.comp_apply,euclideanLift,coordinateEquiv_graphCoordinates, |
| 58 | localFieldLift,Prod.fst_zero,Prod.snd_zero,zero_add,graphMap_apply,physicalField,cylinderGraph] |
| 59 | |
| 60 | omit [Fact (0 < P)] in |
| 61 | theorem physicalField_contDiff (k : ℝ) (m : Vector3) (f : LiftDomain P → Vector3) |
| 62 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) : |
| 63 | ContDiff ℝ ∞ (physicalField P k m f) := by |
| 64 | rw [physicalField_eq_euclidean] |
| 65 | exact (euclideanLift_smooth P f hf 0).comp (graphCoordinates k m).contDiff |
| 66 | |
| 67 | omit [Fact (0 < P)] in |
| 68 | theorem physicalTensor_norm_le (k : ℝ) (m : Vector3) (f : LiftDomain P → Vector3) |
| 69 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift P f x)) (n : ℕ) (x : Vector3) : |
| 70 | ‖iteratedFDeriv ℝ n (physicalField P k m f) x‖ ≤ |
| 71 | frequencyFactor k m ^ n * |
| 72 | ∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖ := by |
| 73 | have ht := euclideanLift_tensor_norm_le P n f hf 0 (graphCoordinates k m x) |
| 74 | have he (w : Fin n → Fin 4) : |
| 75 | euclideanLift P (iteratedFieldDerivative P w f) 0 (graphCoordinates k m x) = |
| 76 | iteratedFieldDerivative P w f (cylinderGraph P k m x) := |
| 77 | (congrFun (physicalField_eq_euclidean P k m (iteratedFieldDerivative P w f)) x).symm |
| 78 | simp_rw [he] at ht |
| 79 | rw [physicalField_eq_euclidean, |
| 80 | (graphCoordinates k m).iteratedFDeriv_comp_right (euclideanLift_smooth P f hf 0) x (by simp)] |
| 81 | have hc := (iteratedFDeriv ℝ n (euclideanLift P f 0) (graphCoordinates k m x)).norm_compContinuousLinearMap_le |
| 82 | (fun _ : Fin n => graphCoordinates k m) |
| 83 | simp only [Finset.prod_const,Finset.card_univ,Fintype.card_fin] at hc |
| 84 | calc |
| 85 | _ ≤ ‖iteratedFDeriv ℝ n (euclideanLift P f 0) (graphCoordinates k m x)‖* |
| 86 | ‖graphCoordinates k m‖^n := hc |
| 87 | _ ≤ (∑ w : Fin n → Fin 4, ‖iteratedFieldDerivative P w f (cylinderGraph P k m x)‖)* |
| 88 | frequencyFactor k m^n := |
| 89 | mul_le_mul ht (pow_le_pow_left₀ (norm_nonneg _) (graphCoordinates_norm_le k m) n) |
| 90 | (by positivity) (Finset.sum_nonneg (fun _ _ => norm_nonneg _)) |
| 91 | _ = _ := mul_comm _ _ |
| 92 | |
| 93 | end EulerCylinderPhysicalTensor |