Download data/lean/OAI/MathematicalPhysics/Elasticity/Homotopy.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 20.5 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/Elasticity/Homotopy.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/Elasticity/Homotopy.lean
-
curl -L -o Homotopy.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/Elasticity/Homotopy.lean
20.5 kB
| import OAI.MathematicalPhysics.Elasticity.Parameters | |
| import OAI.MathematicalPhysics.Elasticity.ODE | |
| namespace OAI | |
| section | |
| noncomputable section | |
| open Set | |
| namespace ElasticityODE | |
| variable {R : Type*} [NormedRing R] [NormedAlgebra β R] [CompleteSpace R] | |
| def frameDbar (b : β β C(Time,R)) (p : β) : C(Time,R) := | |
| fderiv β (fun p => fundamental (b p)) p 1+ | |
| Complex.I β’ fderiv β (fun p => fundamental (b p)) p Complex.I | |
| def coefficientDbar (b : β β C(Time,R)) (p : β) : C(Time,R) := | |
| fderiv β b p 1+Complex.I β’ fderiv β b p Complex.I | |
| lemma frameDbar_hasDerivWithinAt (b : β β C(Time,R)) | |
| (hb : ContDiff β (β€ : ββ) b) (p : β) (t : Time) : | |
| HasDerivWithinAt (extend (frameDbar b p)) | |
| (b p t*frameDbar b p t+coefficientDbar b p t*fundamental (b p) t) Time t := by | |
| have h1 := fundamental_variation_hasDerivWithinAt b hb p 1 t | |
| have hi := (fundamental_variation_hasDerivWithinAt b hb p Complex.I t).const_smul Complex.I | |
| have h := h1.add hi | |
| have he : | |
| b p t*fderiv β (fun p => fundamental (b p)) p 1 t+fderiv β b p 1 t*fundamental (b p) t+ | |
| Complex.I β’ (b p t*fderiv β (fun p => fundamental (b p)) p Complex.I t+ | |
| fderiv β b p Complex.I t*fundamental (b p) t)= | |
| b p t*frameDbar b p t+coefficientDbar b p t*fundamental (b p) t := by | |
| simp only [frameDbar,coefficientDbar,ContinuousMap.add_apply,ContinuousMap.smul_apply, | |
| smul_add,mul_add,add_mul,mul_smul_comm,smul_mul_assoc] | |
| abel | |
| rw [he] at h | |
| exact h.congr_of_mem (fun x hx => by | |
| change extend (frameDbar b p) (β¨x,hxβ© : Time)=_ | |
| rw [extend_apply] | |
| change _=extend (fderiv β (fun p => fundamental (b p)) p 1) (β¨x,hxβ© : Time)+ | |
| Complex.I β’ extend (fderiv β (fun p => fundamental (b p)) p Complex.I) (β¨x,hxβ© : Time) | |
| rw [extend_apply,extend_apply] | |
| rfl) t.property | |
| lemma frameDbar_initial (b : β β C(Time,R)) (hb : ContDiff β (β€ : ββ) b) (p : β) : | |
| frameDbar b p β¨0,by simp [Time]β©=0 := by | |
| simp only [frameDbar,ContinuousMap.add_apply,ContinuousMap.smul_apply, | |
| fundamental_variation_initial b hb,smul_zero,add_zero] | |
| /-- The homotopy defect vanishes. This derives the planar frame equation from | |
| an actual coefficient homotopy, instead of assuming an Oka trivialization. -/ | |
| theorem fundamental_transport (b : β β C(Time,R)) | |
| (hb : ContDiff β (β€ : ββ) b) (p : β) (A : R) | |
| (he : β t : Time, coefficientDbar b p t=A+(t:β) β’ (A*b p t-b p t*A)) (t : Time) : | |
| frameDbar b p t=(t:β) β’ (A*fundamental (b p) t) := by | |
| let u : C(Time,R) := frameDbar b p- | |
| β¨fun s => (s:β) β’ (A*fundamental (b p) s), | |
| continuous_subtype_val.smul (continuous_const.mul (fundamental (b p)).continuous)β© | |
| let v : C(Time,R) := 0 | |
| have hu (s : Time) : HasDerivWithinAt (extend u) (b p s*u s) Time s := by | |
| have hU := (fundamental_deriv (b p) s).const_mul A | |
| have hs : HasDerivWithinAt (fun x : β => x) 1 Time s := (hasDerivAt_id (s:β)).hasDerivWithinAt | |
| have hT := hs.smul hU | |
| have hD := (frameDbar_hasDerivWithinAt b hb p s).sub hT | |
| have ha : b p s*frameDbar b p s+coefficientDbar b p s*fundamental (b p) s- | |
| ((s:β) β’ (A*(b p s*fundamental (b p) s))+(1:β) β’ (A*extend (fundamental (b p)) s))= | |
| b p s*u s := by | |
| rw [he,extend_apply] | |
| change _=b p s*(frameDbar b p s-(s:β) β’ (A*fundamental (b p) s)) | |
| simp only [one_smul,add_mul,smul_mul_assoc,sub_mul,smul_sub,mul_sub,mul_smul_comm,mul_assoc] | |
| abel | |
| rw [ha] at hD | |
| exact hD.congr_of_mem (fun x hx => by | |
| change extend u (β¨x,hxβ© : Time)=_ | |
| rw [extend_apply] | |
| change frameDbar b p β¨x,hxβ©-x β’ (A*fundamental (b p) β¨x,hxβ©)=_ | |
| rw [β extend_apply (frameDbar b p) β¨x,hxβ©, | |
| β extend_apply (fundamental (b p)) β¨x,hxβ©] | |
| rfl) s.property | |
| have hv (s : Time) : HasDerivWithinAt (extend v) (b p s*v s) Time s := by | |
| have hh : HasDerivWithinAt (fun _ : β => (0:R)) 0 Time s := hasDerivWithinAt_const _ _ _ | |
| have hz : b p s*v s=0 := mul_zero _ | |
| rw [hz] | |
| exact hh.congr_of_mem (fun x hx => by | |
| change extend v (β¨x,hxβ© : Time)=0 | |
| rw [extend_apply]; rfl) s.property | |
| have hzero : u β¨0,by simp [Time]β©=v β¨0,by simp [Time]β© := by | |
| change frameDbar b p β¨0,by simp [Time]β©-(0:β) β’ _=0 | |
| rw [frameDbar_initial b hb,zero_smul,sub_zero] | |
| have h := congrArg (fun f : C(Time,R) => f t) | |
| (linear_ode_unique (leftCoeff (b p)) u v hu hv hzero) | |
| exact sub_eq_zero.mp h | |
| end ElasticityODE | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open Set Complex Module | |
| open scoped SchwartzMap LineDeriv BigOperators | |
| namespace ElasticityPlanar | |
| variable {R : Type*} [NormedRing R] [NormedAlgebra β R] [CompleteSpace R] | |
| [FiniteDimensional β R] | |
| variable {n : Type*} [Fintype n] [DecidableEq n] | |
| def coords (q : Basis n β R) : R βL[β] (n β β) := q.equivFun.toContinuousLinearEquiv | |
| def coord (q : Basis n β R) (i : n) : R βL[β] β := | |
| (ContinuousLinearMap.proj i).comp (coords q).toContinuousLinearMap | |
| omit [CompleteSpace R] [DecidableEq n] in | |
| lemma coords_coord (q : Basis n β R) (x : R) (i : n) : coords q x i=coord q i x := rfl | |
| omit [CompleteSpace R] [DecidableEq n] in | |
| lemma coord_linear_apply (q : Basis n β R) (L : R ββ[β] R) (x : R) (i : n) : | |
| coord q i (L x)=β j, coord q i (L (q j))*coord q j x := by | |
| have h : L x=β j, (q.equivFun x j) β’ L (q j) := by | |
| calc | |
| L x=L (β j, q.equivFun x j β’ q j) := congrArg L (q.sum_equivFun x).symm | |
| _=β j, q.equivFun x j β’ L (q j) := by simp only [map_sum,map_smul] | |
| rw [h,map_sum] | |
| apply Finset.sum_congr rfl | |
| intro j _ | |
| rw [map_smul,smul_eq_mul,mul_comm] | |
| rfl | |
| def classicalDbar (f : β β R) (z : β) : R := fderiv β f z 1+I β’ fderiv β f z I | |
| omit [CompleteSpace R] [DecidableEq n] in | |
| lemma coord_dbar (q : Basis n β R) (f : β β R) (hf : Differentiable β f) (z : β) (i : n) : | |
| coord q i (classicalDbar f z)= | |
| fderiv β (fun z => coord q i (f z)) z 1+I*fderiv β (fun z => coord q i (f z)) z I := by | |
| have h := ((coord q i).restrictScalars β).hasFDerivAt.comp z (hf z).hasFDerivAt | |
| change HasFDerivAt (fun z => coord q i (f z)) _ z at h | |
| rw [h.fderiv] | |
| simp only [classicalDbar,map_add,map_smul,ContinuousLinearMap.comp_apply, | |
| smul_eq_mul] | |
| rfl | |
| omit [CompleteSpace R] [DecidableEq n] in | |
| /-- The commutator homotopy equation in a genuine finite-dimensional complex | |
| Banach algebra, with actual joint smooth representatives. -/ | |
| theorem exists_algebra_homotopy {S Ξ© Ξ©' : Set β} (hS : IsCompact S) | |
| (hΞ©S : Ξ© β S) (hΞ©' : IsOpen Ξ©') (hsub : Ξ©' β Ξ©) | |
| (q : Basis n β R) (A : β β R) (hA : ContDiff β (β€ : ββ) A) | |
| (hAc : HasCompactSupport A) {g : β β β} (hg : ContDiff β (β€ : ββ) g) | |
| (hc : HasCompactSupport g) (hs : tsupport g β Ξ©) (h1 : Set.EqOn g 1 Ξ©') : | |
| β B : β Γ β β R, ContDiff β (β€ : ββ) B β§ | |
| β s z, zβΞ©' β classicalDbar (fun z => B (s,z)) z= | |
| A z+s β’ (A z*B (s,z)-B (s,z)*A z) := by | |
| let a : n β n β β β β := fun i j z => coord q i (q j*A z-A z*q j) | |
| have ha (i j : n) : ContDiff β (β€ : ββ) (a i j) := | |
| ((coord q i).restrictScalars β).contDiff.comp | |
| ((contDiff_const.mul hA).sub (hA.mul contDiff_const)) | |
| have hac (i j : n) : HasCompactSupport (a i j) := | |
| ((hAc.mul_left.sub hAc.mul_right).comp_left (g := coord q i) (map_zero _)) | |
| have hf (i : n) : ContDiff β (β€ : ββ) (fun z => coord q i (A z)) := | |
| ((coord q i).restrictScalars β).contDiff.comp hA | |
| have hfc (i : n) : HasCompactSupport (fun z => coord q i (A z)) := | |
| hAc.comp_left (g := coord q i) (map_zero _) | |
| let f : n β π’(β,β) := fun i => (hfc i).toSchwartzMap (hf i) | |
| obtain β¨v,hv,heβ© := exists_classical_homotopy hS hΞ©S hΞ©' hsub a ha hac f hg hc hs h1 | |
| let B : β Γ β β R := fun p => (coords q).symm (fun i => v p.1 i p.2) | |
| have hL : ContDiff β (β€ : ββ) (coords q).symm := by | |
| let L : (n β β) βL[β] R := (coords q).symm.toContinuousLinearMap.restrictScalars β | |
| exact ContinuousLinearMap.contDiff (π := β) (E := n β β) (F := R) L | |
| have hB : ContDiff β (β€ : ββ) B := hL.comp (contDiff_pi.mpr hv) | |
| have hev (s : β) (i : n) : (fun z => coord q i (B (s,z)))=fun z => v s i z := by | |
| funext z | |
| change (coords q) ((coords q).symm (fun i => v s i z)) i=v s i z | |
| rw [ContinuousLinearEquiv.apply_symm_apply] | |
| refine β¨B,hB,fun s z hz => ?_β© | |
| apply (coords q).injective | |
| ext i | |
| change coord q i (classicalDbar (fun z => B (s,z)) z)= | |
| coord q i (A z+s β’ (A z*B (s,z)-B (s,z)*A z)) | |
| have hBs : Differentiable β (fun z => B (s,z)) := | |
| (hB.comp (contDiff_const.prodMk contDiff_id)).differentiable (by simp) | |
| have hD := coord_dbar q (fun z => B (s,z)) hBs z i | |
| rw [hev] at hD | |
| have he' := he s i hz | |
| simp only [schwartzDbar,add_apply,smul_apply,SchwartzMap.lineDerivOp_apply_eq_fderiv,smul_eq_mul] at he' | |
| rw [β hD] at he' | |
| have hcomm : coord q i (B (s,z)*A z-A z*B (s,z))=β j, a i j z*v s j z := by | |
| let L : R ββ[β] R := ((ContinuousLinearMap.mul β R).flip (A z)- | |
| ContinuousLinearMap.mul β R (A z)).toLinearMap | |
| have hh := coord_linear_apply q L (B (s,z)) i | |
| change coord q i (B (s,z)*A z-A z*B (s,z))= | |
| β j, a i j z*coord q j (B (s,z)) at hh | |
| simpa only [congrFun (hev s _) z] using hh | |
| have hs' : coord q i (A z+s β’ (A z*B (s,z)-B (s,z)*A z))= | |
| coord q i (A z)-(s:β)*(β j, a i j z*v s j z) := by | |
| rw [map_add] | |
| have hneg : A z*B (s,z)-B (s,z)*A z=-(B (s,z)*A z-A z*B (s,z)) := by abel | |
| rw [hneg] | |
| have hl := ((coord q i).restrictScalars β).map_smul s (-(B (s,z)*A z-A z*B (s,z))) | |
| change coord q i (s β’ (-(B (s,z)*A z-A z*B (s,z))))=s β’ coord q i (-(B (s,z)*A z-A z*B (s,z))) at hl | |
| rw [hl,map_neg,hcomm] | |
| simp [Complex.real_smul,sub_eq_add_neg] | |
| rw [hs'] | |
| change _+β j, (s:β)*a i j z*v s j z=coord q i (A z) at he' | |
| rw [Finset.mul_sum] | |
| simp_rw [mul_assoc] at he' β’ | |
| linear_combination he' | |
| end ElasticityPlanar | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open Set Complex Module | |
| open scoped SchwartzMap LineDeriv BigOperators | |
| namespace ElasticityPlanar | |
| open ElasticityRegularity | |
| variable {R : Type*} [NormedRing R] [NormedAlgebra β R] [CompleteSpace R] | |
| [FiniteDimensional β R] | |
| variable {n : Type*} [Fintype n] [DecidableEq n] | |
| variable {P : Type*} [NormedAddCommGroup P] [NormedSpace β P] [FiniteDimensional β P] | |
| omit [CompleteSpace R] [DecidableEq n] in | |
| /-- The commutator homotopy equation in a genuine finite-dimensional complex | |
| Banach algebra, with actual joint smooth representatives. -/ | |
| theorem exists_algebra_variable_homotopy {S Ξ© Ξ©' K : Set β} (hS : IsCompact S) | |
| (hΞ©S : Ξ© β S) (hΞ©' : IsOpen Ξ©') (hsub : Ξ©' β Ξ©) | |
| (hK : IsCompact K) (q : Basis n β R) (A : P Γ β β R) (hA : ContDiff β (β€ : ββ) A) | |
| (hAc : β p z, zβK β A (p,z)=0) {g : β β β} (hg : ContDiff β (β€ : ββ) g) | |
| (hc : HasCompactSupport g) (hs : tsupport g β Ξ©) (h1 : Set.EqOn g 1 Ξ©') : | |
| β B : (β Γ P) Γ β β R, ContDiff β (β€ : ββ) B β§ | |
| β s p z, zβΞ©' β classicalDbar (fun z => B ((s,p),z)) z= | |
| A (p,z)+s β’ (A (p,z)*B ((s,p),z)-B ((s,p),z)*A (p,z)) := by | |
| let A' : (β Γ P) Γ β β R := fun q => A (q.1.2,q.2) | |
| have hA' : ContDiff β (β€ : ββ) A' := | |
| hA.comp ((contDiff_snd.comp contDiff_fst).prodMk contDiff_snd) | |
| let a : n β n β (β Γ P) Γ β β β := fun i j w => | |
| (w.1.1 : β)*coord q i (q j*A' w-A' w*q j) | |
| have ha (i j : n) : ContDiff β (β€ : ββ) (a i j) := | |
| (Complex.ofRealCLM.contDiff.comp (contDiff_fst.comp contDiff_fst)).mul | |
| (((coord q i).restrictScalars β).contDiff.comp | |
| ((contDiff_const.mul hA').sub (hA'.mul contDiff_const))) | |
| have hac (i j : n) (w : β Γ P) (z : β) (hz : zβK) : a i j (w,z)=0 := by | |
| simp only [a,A',hAc w.2 z hz,mul_zero,zero_mul,sub_self,map_zero] | |
| let f : n β (β Γ P) Γ β β β := fun i w => coord q i (A' w) | |
| have hf (i : n) : ContDiff β (β€ : ββ) (f i) := | |
| ((coord q i).restrictScalars β).contDiff.comp hA' | |
| have hfc (i : n) (w : β Γ P) (z : β) (hz : zβK) : f i (w,z)=0 := by | |
| simp only [f,A',hAc w.2 z hz,map_zero] | |
| obtain β¨v,hv,heβ© := exists_classical_variable hS hΞ©S hΞ©' hsub hK a ha hac f hf hfc hg hc hs h1 | |
| let B : (β Γ P) Γ β β R := fun p => (coords q).symm (fun i => v p.1 i p.2) | |
| have hL : ContDiff β (β€ : ββ) (coords q).symm := by | |
| let L : (n β β) βL[β] R := (coords q).symm.toContinuousLinearMap.restrictScalars β | |
| exact ContinuousLinearMap.contDiff (π := β) (E := n β β) (F := R) L | |
| have hB : ContDiff β (β€ : ββ) B := hL.comp (contDiff_pi.mpr hv) | |
| have hev (w : β Γ P) (i : n) : (fun z => coord q i (B (w,z)))=fun z => v w i z := by | |
| funext z | |
| change (coords q) ((coords q).symm (fun i => v w i z)) i=v w i z | |
| rw [ContinuousLinearEquiv.apply_symm_apply] | |
| refine β¨B,hB,fun s p z hz => ?_β© | |
| apply (coords q).injective | |
| ext i | |
| change coord q i (classicalDbar (fun z => B ((s,p),z)) z)= | |
| coord q i (A (p,z)+s β’ (A (p,z)*B ((s,p),z)-B ((s,p),z)*A (p,z))) | |
| have hBs : Differentiable β (fun z => B ((s,p),z)) := | |
| (hB.comp (contDiff_const.prodMk contDiff_id)).differentiable (by simp) | |
| have hD := coord_dbar q (fun z => B ((s,p),z)) hBs z i | |
| rw [hev] at hD | |
| have he' := he (s,p) i hz | |
| change schwartzDbar (v (s,p) i) z+β j, (s:β)*coord q i (q j*A (p,z)-A (p,z)*q j)*v (s,p) j z=coord q i (A (p,z)) at he' | |
| simp only [schwartzDbar,add_apply,smul_apply,SchwartzMap.lineDerivOp_apply_eq_fderiv,smul_eq_mul] at he' | |
| rw [β hD] at he' | |
| have hcomm : coord q i (B ((s,p),z)*A (p,z)-A (p,z)*B ((s,p),z))=β j, coord q i (q j*A (p,z)-A (p,z)*q j)*v (s,p) j z := by | |
| let L : R ββ[β] R := ((ContinuousLinearMap.mul β R).flip (A (p,z))- | |
| ContinuousLinearMap.mul β R (A (p,z))).toLinearMap | |
| have hh := coord_linear_apply q L (B ((s,p),z)) i | |
| change coord q i (B ((s,p),z)*A (p,z)-A (p,z)*B ((s,p),z))= | |
| β j, coord q i (q j*A (p,z)-A (p,z)*q j)*coord q j (B ((s,p),z)) at hh | |
| simpa only [congrFun (hev (s,p) _) z] using hh | |
| have hs' : coord q i (A (p,z)+s β’ (A (p,z)*B ((s,p),z)-B ((s,p),z)*A (p,z)))= | |
| coord q i (A (p,z))-(s:β)*(β j, coord q i (q j*A (p,z)-A (p,z)*q j)*v (s,p) j z) := by | |
| rw [map_add] | |
| have hneg : A (p,z)*B ((s,p),z)-B ((s,p),z)*A (p,z)=-(B ((s,p),z)*A (p,z)-A (p,z)*B ((s,p),z)) := by abel | |
| rw [hneg] | |
| have hl := ((coord q i).restrictScalars β).map_smul s (-(B ((s,p),z)*A (p,z)-A (p,z)*B ((s,p),z))) | |
| change coord q i (s β’ (-(B ((s,p),z)*A (p,z)-A (p,z)*B ((s,p),z))))=s β’ coord q i (-(B ((s,p),z)*A (p,z)-A (p,z)*B ((s,p),z))) at hl | |
| rw [hl,map_neg,hcomm] | |
| simp [Complex.real_smul,sub_eq_add_neg] | |
| rw [hs'] | |
| change _+β j, (s:β)*coord q i (q j*A (p,z)-A (p,z)*q j)*v (s,p) j z=coord q i (A (p,z)) at he' | |
| rw [Finset.mul_sum] | |
| simp_rw [mul_assoc] at he' β’ | |
| linear_combination he' | |
| end ElasticityPlanar | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open Set Complex Module | |
| namespace ElasticityPlanar | |
| open ElasticityODE ElasticityCompact | |
| variable {R : Type*} [NormedRing R] [NormedAlgebra β R] [CompleteSpace R] | |
| omit [CompleteSpace R] in | |
| lemma dbar_evaluation (b : β β C(Time,R)) (hb : Differentiable β b) (z : β) (t : Time) : | |
| classicalDbar (fun z => b z t) z=coefficientDbar b z t := by | |
| have h := (ContinuousMap.evalCLM β t : C(Time,R) βL[β] R).hasFDerivAt.comp z (hb z).hasFDerivAt | |
| change HasFDerivAt (fun z => b z t) _ z at h | |
| rw [classicalDbar,h.fderiv] | |
| rfl | |
| lemma dbar_fundamental (b : β β C(Time,R)) (hb : ContDiff β (β€ : ββ) b) (z : β) (t : Time) : | |
| classicalDbar (fun z => fundamental (b z) t) z=frameDbar b z t := | |
| dbar_evaluation (fun z => fundamental (b z)) | |
| ((fundamental_contDiff b hb).differentiable (by simp)) z t | |
| variable [FiniteDimensional β R] {n : Type*} [Fintype n] [DecidableEq n] | |
| omit [DecidableEq n] in | |
| /-- A global smooth invertible planar frame on the prescribed inner domain. | |
| It is built from the proved planar solver and coefficient homotopy flow. -/ | |
| theorem exists_planar_frame {S Ξ© Ξ©' : Set β} (hS : IsCompact S) | |
| (hΞ©S : Ξ© β S) (hΞ©' : IsOpen Ξ©') (hsub : Ξ©' β Ξ©) | |
| (q : Basis n β R) (A : β β R) (hA : ContDiff β (β€ : ββ) A) | |
| (hAc : HasCompactSupport A) {g : β β β} (hg : ContDiff β (β€ : ββ) g) | |
| (hc : HasCompactSupport g) (hs : tsupport g β Ξ©) (h1 : Set.EqOn g 1 Ξ©') : | |
| β V : β β R, ContDiff β (β€ : ββ) V β§ (β z, IsUnit (V z)) β§ | |
| β zβΞ©', classicalDbar V z=A z*V z := by | |
| obtain β¨B,hB,heβ© := exists_algebra_homotopy hS hΞ©S hΞ©' hsub q A hA hAc hg hc hs h1 | |
| let f : β Γ β β R := fun p => B (p.2,p.1) | |
| have hf : ContDiff β (β€ : ββ) f := hB.comp (contDiff_snd.prodMk contDiff_fst) | |
| let b : β β C(Time,R) := curryCompact f hf.continuous (fun t : Time => (t:β)) continuous_subtype_val | |
| have hb : ContDiff β (β€ : ββ) b := curryCompact_contDiff f hf _ continuous_subtype_val | |
| let t : Time := β¨1,by simp [Time]β© | |
| let V : β β R := fun z => fundamental (b z) t | |
| have hV : ContDiff β (β€ : ββ) V := by | |
| have hL : ContDiff β (β€ : ββ) (ContinuousMap.evalCLM β t : C(Time,R) βL[β] R) := | |
| ContinuousLinearMap.contDiff (E := C(Time,R)) (F := R) _ | |
| exact hL.comp (fundamental_contDiff b hb) | |
| refine β¨V,hV,fun z => fundamental_isUnit (b z) t,fun z hz => ?_β© | |
| have hcoeff (s : Time) : coefficientDbar b z s=A z+(s:β) β’ (A z*b z s-b z s*A z) := by | |
| rw [β dbar_evaluation b (hb.differentiable (by simp)) z s] | |
| exact he (s:β) z hz | |
| have ht := fundamental_transport b hb z (A z) hcoeff t | |
| rw [β dbar_fundamental b hb] at ht | |
| simpa only [t,one_smul] using ht | |
| end ElasticityPlanar | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open Set Complex Module | |
| namespace ElasticityPlanar | |
| open ElasticityODE ElasticityCompact | |
| variable {R : Type*} [NormedRing R] [NormedAlgebra β R] [CompleteSpace R] | |
| [FiniteDimensional β R] {n : Type*} [Fintype n] | |
| variable {P : Type*} [NormedAddCommGroup P] [NormedSpace β P] [FiniteDimensional β P] | |
| /-- A genuine jointly smooth global planar frame with arbitrary transverse | |
| parameters. Invertibility holds everywhere, not only at a chosen base point. -/ | |
| theorem exists_variable_planar_frame {S Ξ© Ξ©' K : Set β} (hS : IsCompact S) | |
| (hΞ©S : Ξ© β S) (hΞ©' : IsOpen Ξ©') (hsub : Ξ©' β Ξ©) | |
| (hK : IsCompact K) (q : Basis n β R) (A : P Γ β β R) (hA : ContDiff β (β€ : ββ) A) | |
| (hAc : β p z, zβK β A (p,z)=0) {g : β β β} (hg : ContDiff β (β€ : ββ) g) | |
| (hc : HasCompactSupport g) (hs : tsupport g β Ξ©) (h1 : Set.EqOn g 1 Ξ©') : | |
| β V : P Γ β β R, ContDiff β (β€ : ββ) V β§ (β w, IsUnit (V w)) β§ | |
| β p z, zβΞ©' β classicalDbar (fun z => V (p,z)) z=A (p,z)*V (p,z) := by | |
| obtain β¨B,hB,heβ© := exists_algebra_variable_homotopy hS hΞ©S hΞ©' hsub hK q A hA hAc hg hc hs h1 | |
| let f : (P Γ β) Γ β β R := fun w => B ((w.2,w.1.1),w.1.2) | |
| have hf : ContDiff β (β€ : ββ) f := hB.comp | |
| ((contDiff_snd.prodMk (contDiff_fst.comp contDiff_fst)).prodMk (contDiff_snd.comp contDiff_fst)) | |
| let b : P Γ β β C(Time,R) := curryCompact f hf.continuous (fun t : Time => (t:β)) continuous_subtype_val | |
| have hb : ContDiff β (β€ : ββ) b := curryCompact_contDiff f hf _ continuous_subtype_val | |
| let t : Time := β¨1,by simp [Time]β© | |
| let V : P Γ β β R := fun w => fundamental (b w) t | |
| have hV : ContDiff β (β€ : ββ) V := by | |
| have hL : ContDiff β (β€ : ββ) (ContinuousMap.evalCLM β t : C(Time,R) βL[β] R) := | |
| ContinuousLinearMap.contDiff (E := C(Time,R)) (F := R) _ | |
| exact hL.comp (fundamental_contDiff b hb) | |
| refine β¨V,hV,fun w => fundamental_isUnit (b w) t,fun p z hz => ?_β© | |
| let bp : β β C(Time,R) := fun z => b (p,z) | |
| have hbp : ContDiff β (β€ : ββ) bp := hb.comp (contDiff_const.prodMk contDiff_id) | |
| have hcoeff (s : Time) : coefficientDbar bp z s=A (p,z)+(s:β) β’ (A (p,z)*bp z s-bp z s*A (p,z)) := by | |
| rw [β dbar_evaluation bp (hbp.differentiable (by simp)) z s] | |
| exact he (s:β) p z hz | |
| have ht := fundamental_transport bp hbp z (A (p,z)) hcoeff t | |
| rw [β dbar_fundamental bp hbp] at ht | |
| simpa only [t,one_smul] using ht | |
| end ElasticityPlanar | |
| end | |
| end | |
| end OAI | |