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.ParentNormalizedGeometry |
| 2 | import Euler.ParentPacketRestriction |
| 3 | import Euler.FlowL2Transport |
| 4 | |
| 5 | /-! The inverse carried by the physical particle map. Preservation of |
| 6 | volume follows from the actual determinant, and both time restriction |
| 7 | and the packet child propagate the two inverse laws. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerParentPacketFrames |
| 12 | |
| 13 | open Set MeasureTheory EulerSmoothLimit EulerTimeIntervalRestriction |
| 14 | EulerGraphInvariantFlow EulerPacketVolumeDivergence |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | structure ParticleInverse (A : Parent) where |
| 18 | field : Icc (0 : ℝ) A.T → Space → Space |
| 19 | left_inverse : ∀ t x, field t (A.position t x)=x |
| 20 | right_inverse : ∀ t x, A.position t (field t x)=x |
| 21 | continuous : Continuous (Function.uncurry field) |
| 22 | |
| 23 | namespace Parent |
| 24 | |
| 25 | variable (A : Parent) |
| 26 | |
| 27 | theorem position_contDiff (t : Icc (0 : ℝ) A.T) : ContDiff ℝ ∞ (A.position t) := |
| 28 | contDiff_id.add (A.displacement.smooth t) |
| 29 | |
| 30 | theorem packetPosition_contDiff (t : Icc (0 : ℝ) A.T) : |
| 31 | ContDiff ℝ ∞ (fun x => A.packetPosition (t,x)) := by |
| 32 | have he : (fun x => A.packetPosition (t,x)) = |
| 33 | (fun x => A.ell⁻¹ • A.position t (A.ell • x)) := |
| 34 | funext (A.packetPosition_apply t) |
| 35 | rw [he] |
| 36 | exact ((A.position_contDiff t).comp (contDiff_id.const_smul A.ell)).const_smul A.ell⁻¹ |
| 37 | |
| 38 | end Parent |
| 39 | |
| 40 | namespace ParticleInverse |
| 41 | |
| 42 | variable {A : Parent} (I : ParticleInverse A) |
| 43 | |
| 44 | include I in |
| 45 | theorem position_bijective (t : Icc (0 : ℝ) A.T) : Function.Bijective (A.position t) := |
| 46 | ⟨Function.LeftInverse.injective (I.left_inverse t), |
| 47 | Function.RightInverse.surjective (I.right_inverse t)⟩ |
| 48 | |
| 49 | theorem field_initial (x : Space) : I.field A.zeroTime x=x := by |
| 50 | have h := I.left_inverse A.zeroTime x |
| 51 | simpa only [Parent.position, Parent.zeroTime, A.initial, add_zero] using h |
| 52 | |
| 53 | include I in |
| 54 | theorem position_measurePreserving (t : Icc (0 : ℝ) A.T) : |
| 55 | MeasurePreserving (A.position t) volume volume := |
| 56 | EulerDeformationVolume.measurePreserving_of_det_one volume (A.position t) |
| 57 | (fun x => ContinuousLinearMap.id ℝ Space+fderiv ℝ (A.displacement.field t : Space → Space) x) |
| 58 | (A.position_hasFDerivAt t) (I.position_bijective t) (A.displacement_det_one t) |
| 59 | |
| 60 | theorem field_measurePreserving (t : Icc (0 : ℝ) A.T) : |
| 61 | MeasurePreserving (I.field t) volume volume := |
| 62 | EulerFlowL2Transport.inverse_measurePreserving (A.position t) (I.field t) |
| 63 | (fun x => ContinuousLinearMap.id ℝ Space+fderiv ℝ (A.displacement.field t : Space → Space) x) |
| 64 | (A.position_hasFDerivAt t) (I.left_inverse t) (I.right_inverse t) |
| 65 | (Continuous.uncurry_left t I.continuous) (A.displacement_det_one t) |
| 66 | |
| 67 | def normalized (t : Icc (0 : ℝ) A.T) (x : Space) : Space := |
| 68 | A.packetInverse I.field (t,x) |
| 69 | |
| 70 | theorem normalized_left (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 71 | I.normalized t (A.packetPosition (t,x))=x := |
| 72 | A.packetInverse_left I.field I.left_inverse (t,x) |
| 73 | |
| 74 | theorem normalized_right (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 75 | A.packetPosition (t,I.normalized t x)=x := |
| 76 | A.packetInverse_right I.field I.right_inverse (t,x) |
| 77 | |
| 78 | theorem normalized_continuous : Continuous (Function.uncurry I.normalized) := |
| 79 | (A.packetInverse_joint_continuous I.field I.continuous).comp |
| 80 | ((continuous_subtype_val.comp continuous_fst).prodMk continuous_snd) |
| 81 | |
| 82 | def restrictTime (S : ℝ) (hS : 0 < S) (hST : S ≤ A.T) : |
| 83 | ParticleInverse (A.restrictTime S hS hST) where |
| 84 | field t := I.field (initialInclusion A.T S hST t) |
| 85 | left_inverse t x := I.left_inverse (initialInclusion A.T S hST t) x |
| 86 | right_inverse t x := I.right_inverse (initialInclusion A.T S hST t) x |
| 87 | continuous := I.continuous.comp |
| 88 | (((initialInclusion A.T S hST).continuous.comp continuous_fst).prodMk continuous_snd) |
| 89 | |
| 90 | def child {P : ℝ} [Fact (0 < P)] (G : EulerPhysicalGraphFlowBounds.Data P A.T) |
| 91 | (k : ℝ) (m : Space) (hgraph : ∀ t z, graphConstraint k m (G.A.field t z)=0) |
| 92 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) : |
| 93 | ParticleInverse (A.child G k m hgraph nextEll hnext hnext1) where |
| 94 | field := A.childInverse G k m I.field |
| 95 | left_inverse := A.childInverse_left G k m hgraph nextEll hnext hnext1 I.field I.left_inverse |
| 96 | right_inverse := A.childInverse_right G k m hgraph nextEll hnext hnext1 I.field I.right_inverse |
| 97 | continuous := A.childInverse_joint_continuous G k m I.field I.continuous |
| 98 | |
| 99 | end ParticleInverse |
| 100 | end EulerParentPacketFrames |