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.PacketJoinedSourceOperators |
| 2 | import Euler.PacketProfileRegularity |
| 3 | import Euler.TransversePacketJoinedProvider |
| 4 | import Euler.PacketCylinderPressureLocality |
| 5 | import Euler.PacketProfileParity |
| 6 | |
| 7 | /-! |
| 8 | Actual source profiles for the complete high inverse. The primary datum is a |
| 9 | genuine profile with its path/time witnesses; every later forcing is proved |
| 10 | admissible and every later profile is constructed by the two source inverses. |
| 11 | -/ |
| 12 | |
| 13 | /-! ## From `Euler/PacketJoinedStepRegularity.lean` |
| 14 | |
| 15 | The text of `Euler/PacketJoinedStepRegularity.lean`, folded into this file, which was its only importer. -/ |
| 16 | |
| 17 | section |
| 18 | |
| 19 | /-! A genuine recursion step using the full history/forward transverse inverse. -/ |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | namespace EulerPacketCylinderField.ProfileRegularity |
| 24 | |
| 25 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 26 | |
| 27 | variable {P : ℝ} [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 28 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 29 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 30 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 31 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 32 | {O : Operators} (C : CoefficientData P M.T O) |
| 33 | (hmean : O.meanSolve = EulerMeanPacketProvider.meanSolve M) |
| 34 | (hhigh : O.highSolve = EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B) |
| 35 | (hcorrector : O.curlCorrector = D.curlCorrector P) |
| 36 | {p : ℕ} {a : ℕ → Profile} |
| 37 | |
| 38 | def joinedStep (hp : 2 ≤ p) |
| 39 | (G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (a i)) : |
| 40 | ProfileRegularity P M.T M.T_pos.le D.support (EulerPacketProfileRecursion.step O p a) := by |
| 41 | let F := prefixFields G |
| 42 | let W := G (p-1) (by omega) |
| 43 | let hm : Nonempty (EulerMeanPacketProvider.Forcing M (EulerPacketProfileRecursion.meanForce O p a)) := |
| 44 | ⟨F.meanForcing M C (by omega) W.correctorDerivative W.corrector_time W.pressure⟩ |
| 45 | let hh : Nonempty (EulerTransversePacketProvider.Forcing P D (EulerPacketProfileRecursion.highForce O p a)) := |
| 46 | ⟨F.highForcing M D hT C hp W.correctorDerivative W.corrector_time W.pressure hmean |
| 47 | (prefixLocality G) W.pressure_zero⟩ |
| 48 | let GM := Classical.choice hm |
| 49 | let GH := Classical.choice hh |
| 50 | let high : Field P M.T (EulerPacketProfileRecursion.step O p a).high := |
| 51 | ((EulerTransversePacketJoin.vectorField τ hτ hτT B GH).changeTime hT.symm).congr (fun _ _ _ => by |
| 52 | change (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 _ = _ |
| 53 | rw [hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh]) |
| 54 | let mean : Field P M.T (EulerPacketProfileRecursion.step O p a).mean := |
| 55 | (GM.vectorCylinderField P).congr (fun _ _ _ => by |
| 56 | change (O.meanSolve (EulerPacketProfileRecursion.meanForce O p a)).1 _ = _ |
| 57 | rw [hmean,EulerMeanPacketProvider.meanSolve_of_admissible M _ hm]) |
| 58 | let corrector : Field P M.T (EulerPacketProfileRecursion.step O p a).corrector := |
| 59 | ((EulerTransversePacketJoin.correctorField τ hτ hτT B GH).changeTime hT.symm).congr (fun _ _ _ => by |
| 60 | change O.curlCorrector (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 _ = _ |
| 61 | rw [hcorrector,hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh]) |
| 62 | let pressure : Field P M.T (pressureGradient (EulerPacketProfileRecursion.step O p a).highPressure) := |
| 63 | ((EulerTransversePacketJoin.scalarGradientField τ hτ hτT B GH).changeTime hT.symm).congr |
| 64 | (fun _ _ _ => by |
| 65 | change pressureGradient (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).2 _ = _ |
| 66 | rw [hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh]) |
| 67 | refine { |
| 68 | high := high |
| 69 | mean := mean |
| 70 | corrector := corrector |
| 71 | pressure := pressure |
| 72 | high_t := EulerTransversePacketJoin.vectorDerivative τ hτ hτT B GH |
| 73 | mean_t := GM.vectorDerivative |
| 74 | corrector_t := EulerTransversePacketJoin.correctorDerivative τ hτ hτT B GH |
| 75 | highDerivative := (EulerTransversePacketJoin.vectorDerivativeField τ hτ hτT B GH).changeTime hT.symm |
| 76 | meanDerivative := GM.vectorDerivativeCylinderField P |
| 77 | correctorDerivative := (EulerTransversePacketJoin.correctorDerivativeField τ hτ hτT B GH).changeTime hT.symm |
| 78 | high_time := ?_ |
| 79 | mean_time := ?_ |
| 80 | corrector_time := ?_ |
| 81 | high_zero := ?_ |
| 82 | corrector_zero := ?_ |
| 83 | pressure_zero := ?_ |
| 84 | mean_angle := ?_ |
| 85 | } |
| 86 | · exact (EulerTransversePacketJoin.vectorField τ hτ hτT B GH).changeTime_derivative |
| 87 | (EulerTransversePacketJoin.vectorDerivativeField τ hτ hτT B GH) hT.symm |
| 88 | D.T_pos.le M.T_pos.le (EulerTransversePacketJoin.vectorField_time τ hτ hτT B GH) |
| 89 | · exact GM.vectorCylinderField_time P |
| 90 | · exact (EulerTransversePacketJoin.correctorField τ hτ hτT B GH).changeTime_derivative |
| 91 | (EulerTransversePacketJoin.correctorDerivativeField τ hτ hτT B GH) hT.symm |
| 92 | D.T_pos.le M.T_pos.le (EulerTransversePacketJoin.correctorField_time τ hτ hτT B GH) |
| 93 | · intro t x hx θ |
| 94 | change (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 (t,(x,θ)) = 0 |
| 95 | rw [hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh] |
| 96 | exact EulerTransversePacketJoin.vector_zero_outside τ hτ hτT B GH t x hx θ |
| 97 | · intro t x hx θ |
| 98 | change O.curlCorrector (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 (t,(x,θ)) = 0 |
| 99 | rw [hcorrector,hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh] |
| 100 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 101 | exact (EulerTransversePacketJoin.curlCorrector_eq τ hτ hτT B GH td x θ).trans |
| 102 | (EulerTransversePacketJoin.corrector_zero_outside τ hτ hτT B GH t x hx θ) |
| 103 | · intro t x hx θ |
| 104 | change pressureGradient (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).2 (t,(x,θ)) = 0 |
| 105 | rw [hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh] |
| 106 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 107 | exact pressureGradient_zero_outside (EulerTransversePacketJoin.scalar τ hτ hτT B GH) t |
| 108 | D.support D.support_compact.isClosed (EulerTransversePacketJoin.scalar_zero_outside τ hτ hτT B GH td) x hx θ |
| 109 | · intro t x θ |
| 110 | change (O.meanSolve (EulerPacketProfileRecursion.meanForce O p a)).1 (t,(x,θ)) = |
| 111 | (O.meanSolve (EulerPacketProfileRecursion.meanForce O p a)).1 (t,(x,0)) |
| 112 | rw [hmean,EulerMeanPacketProvider.meanSolve_of_admissible M _ hm] |
| 113 | exact GM.vector_angle_independent t x θ 0 |
| 114 | |
| 115 | end EulerPacketCylinderField.ProfileRegularity |
| 116 | end |
| 117 | |
| 118 | end |
| 119 | |
| 120 | /-! ## From `Euler/PacketJoinedStepParity.lean` |
| 121 | |
| 122 | The text of `Euler/PacketJoinedStepParity.lean`, folded into this file, which was its only importer. -/ |
| 123 | |
| 124 | section |
| 125 | |
| 126 | /-! The complete history/forward high inverse preserves the actual recursive symmetries. -/ |
| 127 | |
| 128 | noncomputable section |
| 129 | |
| 130 | namespace EulerPacketCylinderField.ProfileParity |
| 131 | |
| 132 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 133 | EulerLpCylinderTranslation EulerCylinderFieldReflection |
| 134 | |
| 135 | variable {P : ℝ} [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 136 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 137 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 138 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 139 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 140 | {O : Operators} (C : CoefficientData P M.T O) |
| 141 | (hmean : O.meanSolve = EulerMeanPacketProvider.meanSolve M) |
| 142 | (hhigh : O.highSolve = EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B) |
| 143 | (hcorrector : O.curlCorrector = D.curlCorrector P) |
| 144 | (E : CoefficientEven M.T O) (eM : EulerMeanPacketProvider.EvenData M) |
| 145 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 146 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 147 | (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 148 | (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 149 | {p : ℕ} {a : ℕ → Profile} |
| 150 | |
| 151 | include hT τ hτ hτT B C hmean hhigh hcorrector E eM hSym hF hDM hBH in |
| 152 | theorem joinedStep (hp : 2 ≤ p) |
| 153 | (G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (a i)) |
| 154 | (H : ∀ i, i < p → ProfileParity M.T (a i)) : |
| 155 | ProfileParity M.T (EulerPacketProfileRecursion.step O p a) := by |
| 156 | let F := ProfileRegularity.prefixFields G |
| 157 | let W := G (p-1) (by omega) |
| 158 | have Hpre := prefixOdd H |
| 159 | let hm : Nonempty (EulerMeanPacketProvider.Forcing M (EulerPacketProfileRecursion.meanForce O p a)) := |
| 160 | ⟨F.meanForcing M C (by omega) W.correctorDerivative W.corrector_time W.pressure⟩ |
| 161 | let hh : Nonempty (EulerTransversePacketProvider.Forcing P D (EulerPacketProfileRecursion.highForce O p a)) := |
| 162 | ⟨F.highForcing M D hT C hp W.correctorDerivative W.corrector_time W.pressure hmean |
| 163 | (ProfileRegularity.prefixLocality G) W.pressure_zero⟩ |
| 164 | let GH := Classical.choice hh |
| 165 | have hmOdd := F.meanForce_odd Hpre C E (by omega) M.T_pos W.correctorDerivative |
| 166 | W.corrector_time W.pressure (H (p-1) (by omega)).pressure |
| 167 | have hm0 (t : Icc (0 : ℝ) M.T) (x : Space) : |
| 168 | EulerPacketProfileRecursion.meanForce O p a (t,(-x,0)) = |
| 169 | -EulerPacketProfileRecursion.meanForce O p a (t,(x,0)) := by |
| 170 | simpa only [neg_zero] using hmOdd t x 0 |
| 171 | have hhOdd : JointOdd D.T (EulerPacketProfileRecursion.highForce O p a) := |
| 172 | (F.actualHighForce_odd M Hpre C E eM hp W.correctorDerivative W.corrector_time |
| 173 | W.pressure (H (p-1) (by omega)).pressure hmean).changeTime hT |
| 174 | refine { high := ?_, mean := ?_, corrector := ?_, pressure := ?_, highPressure := ?_, meanPressure := ?_ } |
| 175 | · intro t x θ |
| 176 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 177 | change (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 (t,(-x,-θ)) = |
| 178 | -(O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 (t,(x,θ)) |
| 179 | rw [hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh] |
| 180 | exact EulerTransversePacketJoin.vector_odd τ hτ hτT B GH hSym hF hDM hBH hhOdd td x θ |
| 181 | · intro t x θ |
| 182 | change (O.meanSolve (EulerPacketProfileRecursion.meanForce O p a)).1 (t,(-x,-θ)) = |
| 183 | -(O.meanSolve (EulerPacketProfileRecursion.meanForce O p a)).1 (t,(x,θ)) |
| 184 | rw [hmean] |
| 185 | exact EulerMeanPacketProvider.meanSolve_odd M eM _ hm hm0 t x θ |
| 186 | · intro t x θ |
| 187 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 188 | change O.curlCorrector (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 (t,(-x,-θ)) = |
| 189 | -O.curlCorrector (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).1 (t,(x,θ)) |
| 190 | rw [hcorrector,hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh] |
| 191 | exact EulerTransversePacketJoin.curlCorrector_odd τ hτ hτT B GH hSym hF hDM hBH hhOdd td x θ |
| 192 | · intro t x θ |
| 193 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 194 | change pressureGradient (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).2 (t,(-x,-θ)) = |
| 195 | -pressureGradient (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).2 (t,(x,θ)) |
| 196 | rw [hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh] |
| 197 | exact pressureGradient_odd (EulerTransversePacketJoin.scalar τ hτ hτT B GH) t |
| 198 | (EulerTransversePacketJoin.scalar_smooth τ hτ hτT B GH t) |
| 199 | (EulerTransversePacketJoin.scalar_even τ hτ hτT B GH hSym hF hDM hBH hhOdd td) x θ |
| 200 | · intro t x θ |
| 201 | let td : Icc (0 : ℝ) D.T := ⟨t,by rw [← hT]; exact t.property⟩ |
| 202 | change (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).2 (t,(-x,-θ)) = |
| 203 | (O.highSolve (EulerPacketProfileRecursion.highForce O p a)).2 (t,(x,θ)) |
| 204 | rw [hhigh,EulerTransversePacketJoin.highSolve_of_admissible τ hτ hτT B hh] |
| 205 | exact EulerTransversePacketJoin.scalar_even τ hτ hτT B GH hSym hF hDM hBH hhOdd td x θ |
| 206 | · intro t x θ |
| 207 | change (O.meanSolve (EulerPacketProfileRecursion.meanForce O p a)).2 (t,(-x,-θ)) = |
| 208 | (O.meanSolve (EulerPacketProfileRecursion.meanForce O p a)).2 (t,(x,θ)) |
| 209 | rw [hmean] |
| 210 | exact EulerMeanPacketProvider.meanSolve_even M eM _ hm hm0 t x θ |
| 211 | |
| 212 | end EulerPacketCylinderField.ProfileParity |
| 213 | end |
| 214 | |
| 215 | end |
| 216 | |
| 217 | /-! ## From `Euler/PacketJoinedProfilesRegularity.lean` |
| 218 | |
| 219 | The text of `Euler/PacketJoinedProfilesRegularity.lean`, folded into this file, which was its only importer. -/ |
| 220 | |
| 221 | section |
| 222 | |
| 223 | /-! All-grade admissibility for the actual history/forward packet recursion. -/ |
| 224 | |
| 225 | noncomputable section |
| 226 | |
| 227 | namespace EulerPacketCylinderField |
| 228 | |
| 229 | open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 230 | |
| 231 | variable {P : ℝ} [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 232 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 233 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 234 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 235 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 236 | {O : Operators} (C : CoefficientData P M.T O) |
| 237 | (hmean : O.meanSolve = EulerMeanPacketProvider.meanSolve M) |
| 238 | (hhigh : O.highSolve = EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B) |
| 239 | (hcorrector : O.curlCorrector = D.curlCorrector P) |
| 240 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 241 | |
| 242 | include hT τ hτ hτT B C hmean hhigh hcorrector hprimary in |
| 243 | theorem joined_profiles_regular (p : ℕ) : |
| 244 | Nonempty (ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary p)) := by |
| 245 | induction p using Nat.strong_induction_on with |
| 246 | | h p ih => |
| 247 | by_cases hp0 : p = 0 |
| 248 | · subst p |
| 249 | rw [profiles_zero] |
| 250 | exact ⟨ProfileRegularity.zero P M.T M.T_pos.le D.support⟩ |
| 251 | by_cases hp1 : p = 1 |
| 252 | · subst p |
| 253 | rw [profiles_one] |
| 254 | exact ⟨hprimary⟩ |
| 255 | have hp : 2 ≤ p := by omega |
| 256 | let G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary i) := |
| 257 | fun i hi => Classical.choice (ih i hi) |
| 258 | rw [profiles_step O primary p hp] |
| 259 | exact ⟨ProfileRegularity.joinedStep M D hT τ hτ hτT B C hmean hhigh hcorrector hp G⟩ |
| 260 | |
| 261 | def joinedProfileWitness (p : ℕ) : |
| 262 | ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary p) := |
| 263 | Classical.choice (joined_profiles_regular M D hT τ hτ hτT B C hmean hhigh hcorrector primary hprimary p) |
| 264 | |
| 265 | def joined_profiles_meanForcing (p : ℕ) (hp : 2 ≤ p) : |
| 266 | EulerMeanPacketProvider.Forcing M (meanForce O p (profiles O primary)) := by |
| 267 | let G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary i) := |
| 268 | fun i _ => joinedProfileWitness M D hT τ hτ hτT B C hmean hhigh hcorrector primary hprimary i |
| 269 | let F := ProfileRegularity.prefixFields G |
| 270 | let W := G (p-1) (by omega) |
| 271 | exact F.meanForcing M C (by omega) W.correctorDerivative W.corrector_time W.pressure |
| 272 | |
| 273 | def joined_profiles_highForcing (p : ℕ) (hp : 2 ≤ p) : |
| 274 | EulerTransversePacketProvider.Forcing P D (highForce O p (profiles O primary)) := by |
| 275 | let G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary i) := |
| 276 | fun i _ => joinedProfileWitness M D hT τ hτ hτT B C hmean hhigh hcorrector primary hprimary i |
| 277 | let F := ProfileRegularity.prefixFields G |
| 278 | let W := G (p-1) (by omega) |
| 279 | exact F.highForcing M D hT C hp W.correctorDerivative W.corrector_time W.pressure hmean |
| 280 | (ProfileRegularity.prefixLocality G) W.pressure_zero |
| 281 | |
| 282 | end EulerPacketCylinderField |
| 283 | end |
| 284 | |
| 285 | end |
| 286 | |
| 287 | /-! ## From `Euler/PacketJoinedProfilesParity.lean` |
| 288 | |
| 289 | The text of `Euler/PacketJoinedProfilesParity.lean`, folded into this file, which was its only importer. -/ |
| 290 | |
| 291 | section |
| 292 | |
| 293 | /-! Every grade constructed with the joined inverse has the prescribed joint parity. -/ |
| 294 | |
| 295 | noncomputable section |
| 296 | |
| 297 | namespace EulerPacketCylinderField |
| 298 | |
| 299 | open Set EulerSmoothLimit EulerPacketProfileRecursion |
| 300 | |
| 301 | variable {P : ℝ} [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 302 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 303 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 304 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 305 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 306 | {O : Operators} (C : CoefficientData P M.T O) |
| 307 | (hmean : O.meanSolve = EulerMeanPacketProvider.meanSolve M) |
| 308 | (hhigh : O.highSolve = EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B) |
| 309 | (hcorrector : O.curlCorrector = D.curlCorrector P) |
| 310 | (E : CoefficientEven M.T O) (eM : EulerMeanPacketProvider.EvenData M) |
| 311 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 312 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 313 | (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 314 | (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 315 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 316 | (hprimaryParity : ProfileParity M.T primary) |
| 317 | |
| 318 | include hT τ hτ hτT B C hmean hhigh hcorrector E eM hSym hF hDM hBH hprimary hprimaryParity in |
| 319 | theorem joined_profiles_parity (p : ℕ) : ProfileParity M.T (profiles O primary p) := by |
| 320 | induction p using Nat.strong_induction_on with |
| 321 | | h p ih => |
| 322 | by_cases hp0 : p = 0 |
| 323 | · subst p |
| 324 | rw [profiles_zero] |
| 325 | exact ProfileParity.zero M.T |
| 326 | by_cases hp1 : p = 1 |
| 327 | · subst p |
| 328 | rw [profiles_one] |
| 329 | exact hprimaryParity |
| 330 | have hp : 2 ≤ p := by omega |
| 331 | let G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary i) := |
| 332 | fun i _ => joinedProfileWitness M D hT τ hτ hτT B C hmean hhigh hcorrector primary hprimary i |
| 333 | rw [profiles_step O primary p hp] |
| 334 | exact ProfileParity.joinedStep M D hT τ hτ hτT B C hmean hhigh hcorrector E eM |
| 335 | hSym hF hDM hBH hp G ih |
| 336 | |
| 337 | end EulerPacketCylinderField |
| 338 | end |
| 339 | |
| 340 | end |
| 341 | |
| 342 | noncomputable section |
| 343 | |
| 344 | namespace EulerPacketCylinderField |
| 345 | |
| 346 | open Set EulerSmoothLimit EulerPacketProfileRecursion |
| 347 | |
| 348 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 349 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 350 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 351 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 352 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 353 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 354 | |
| 355 | def joinedSourceProfiles : ℕ → Profile := |
| 356 | profiles (joinedSourceOperators P M D τ hτ hτT B) primary |
| 357 | |
| 358 | def joinedSourceProfileWitness (p : ℕ) : |
| 359 | ProfileRegularity P M.T M.T_pos.le D.support (joinedSourceProfiles P M D τ hτ hτT B primary p) := |
| 360 | joinedProfileWitness M D hT τ hτ hτT B (joinedSourceCoefficientData P M D τ hτ hτT B hT) |
| 361 | rfl rfl rfl primary hprimary p |
| 362 | |
| 363 | def joinedSource_meanForcing (p : ℕ) (hp : 2 ≤ p) : |
| 364 | EulerMeanPacketProvider.Forcing M |
| 365 | (meanForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 366 | (joinedSourceProfiles P M D τ hτ hτT B primary)) := |
| 367 | joined_profiles_meanForcing M D hT τ hτ hτT B (joinedSourceCoefficientData P M D τ hτ hτT B hT) |
| 368 | rfl rfl rfl primary hprimary p hp |
| 369 | |
| 370 | def joinedSource_highForcing (p : ℕ) (hp : 2 ≤ p) : |
| 371 | EulerTransversePacketProvider.Forcing P D |
| 372 | (highForce (joinedSourceOperators P M D τ hτ hτT B) p |
| 373 | (joinedSourceProfiles P M D τ hτ hτT B primary)) := |
| 374 | joined_profiles_highForcing M D hT τ hτ hτT B (joinedSourceCoefficientData P M D τ hτ hτT B hT) |
| 375 | rfl rfl rfl primary hprimary p hp |
| 376 | |
| 377 | theorem joinedSourceCoefficientEven |
| 378 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 379 | (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) : |
| 380 | CoefficientEven M.T (joinedSourceOperators P M D τ hτ hτT B) where |
| 381 | inverse t x _ := D.inverse_even hF (D.clamp t) x |
| 382 | strain t x _ := hM (D.clamp t) x |
| 383 | normal t x _ := D.normal_even hF (D.clamp t) x |
| 384 | |
| 385 | include hT hprimary in |
| 386 | theorem joinedSourceProfiles_parity |
| 387 | (eM : EulerMeanPacketProvider.EvenData M) |
| 388 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 389 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 390 | (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 391 | (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 392 | (hprimaryParity : ProfileParity M.T primary) (p : ℕ) : |
| 393 | ProfileParity M.T (joinedSourceProfiles P M D τ hτ hτT B primary p) := |
| 394 | joined_profiles_parity M D hT τ hτ hτT B (joinedSourceCoefficientData P M D τ hτ hτT B hT) |
| 395 | rfl rfl rfl (joinedSourceCoefficientEven P M D τ hτ hτT B hF hDM) eM |
| 396 | hSym hF hDM hBH primary hprimary hprimaryParity p |
| 397 | |
| 398 | end EulerPacketCylinderField |