Download lean/OAI/MathematicalPhysics/NavierStokes/VelocityDetection/ExpandingArrayLocalSupportField.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremlocalSupport_field (hν : 0 < ν) (i : Fin2) :
LocalHorizontalSupport (fun t X=> field hb table terminal ν m t X i) :=by
proof · 8
lines
intro T hT
obtain ⟨K, hK, hzero⟩ := finiteCylinderSupport hb table terminal ν m hν T
refine ⟨K, hK, ?_⟩
intro t ht X hX
by_cases ht0 : 0≤ t
· exact congrFun (hzero t ht0 ((le_abs_self t).trans ht) X hX) i
· have h := field_at_rest hb table terminal ν m hν (show t ≤1by linarith) X
exact congrFun h i
theoremfield_D_Tails (hν : 0 < ν) (i k : Fin2) :
ContinuousTails (spatialD k (fun t X=> field hb table terminal ν m t X i)) :=
proof · 3
lines
(spatial_c1Tails_of_smooth_support (f :=fun t X=> field hb table terminal ν m t X i)
((contDiff_apply ℝℝ i).comp (contDiff_field hb table terminal ν m hν))
(localSupport_field hb table terminal ν m hν i) k).continuous
theoremfield_DD_Tails (hν : 0 < ν) (i k l : Fin2) :
ContinuousTails (spatialD l (spatialD k (fun t X=> field hb table terminal ν m t X i))) :=
proof · 3
lines
second_continuousTails_of_smooth_support (f :=fun t X=> field hb table terminal ν m t X i)
((contDiff_apply ℝℝ i).comp (contDiff_field hb table terminal ν m hν))
(localSupport_field hb table terminal ν m hν i) k l
theoremcomparisonClass_of_scalar_tails (hν : 0 < ν) {ρ : ScalarField2}
(hρ : ContDiffℝ∞ (uncurry ρ)) (hr : C1Tails ρ)
(hD : ∀ i, ContinuousTails (spatialD i ρ))
(hDD : ∀ i k, ContinuousTails (spatialD k (spatialD i ρ))) :
Cylinder.ComparisonClass
(fun t x => liftVelocity (field hb table terminal ν m) ρ t (Cylinder.join x))
(fun _ _ =>0) :=by
proof · 30
lines
letv : ℝ→Coord2→Cylinder.Vect:=fun t X=>
![field hb table terminal ν m t X0, field hb table terminal ν m t X1, ρ t X]
haveheq : (fun t x => liftVelocity (field hb table terminal ν m) ρ t (Cylinder.join x)) =
(fun (t : ℝ) (x : Cylinder.Space) => v t x.1) :=by
funext t x
havehh : horizontal (Cylinder.join x) = x.1:=
congrArg Prod.fst (Cylinder.split_join x)
simp only [liftVelocity, hh, v]
rw [heq]
apply Cylinder.comparisonClass_lift_of_tails v
· intro i
fin_cases i
· exact (contDiff_apply ℝℝ (0 : Fin2)).comp (contDiff_field hb table terminal ν m hν)
· exact (contDiff_apply ℝℝ (1 : Fin2)).comp (contDiff_field hb table terminal ν m hν)
· exact hρ
· intro i
fin_cases i
· exact field_C1Tails hb table terminal ν m hν 0
· exact field_C1Tails hb table terminal ν m hν 1
· exact hr
· intro i k
fin_cases i
· exact field_D_Tails hb table terminal ν m hν 0 k
· exact field_D_Tails hb table terminal ν m hν 1 k
· exact hD k
· intro i k l
fin_cases i
· exact field_DD_Tails hb table terminal ν m hν 0 k l
· exact field_DD_Tails hb table terminal ν m hν 1 k l
· exact hDD k l