theoremprojective [Module.FiniteRQ] [Module.ProjectiveRQ]
(h : HomExactAt e d) (f : L→ₗ[R] Q) (hf : f.comp e = 0) :
∃g : M→ₗ[R] Q, g.comp d = f :=by
proof · 19
lines
obtain ⟨n, π, hπ⟩ :=Module.Finite.exists_fin' RQ
obtain ⟨s, hs⟩ :=Module.projective_lifting_property π (LinearMap.id : Q→ₗ[R] Q) hπ
have coordinate_exists (i : Fin n) :
∃g : M→ₗ[R] R, g.comp d = (LinearMap.proj i).comp (s.comp f) :=by
apply h
ext z
change (s (f (e z))) i = 0
rw [show f (e z) = 0fromDFunLike.congr_fun hf z, map_zero]
rfl
choose g hg using coordinate_exists
letG : M→ₗ[R] (Fin n →R) :=LinearMap.pi g
refine ⟨π.comp G, ?_⟩
ext z
havehz : G (d z) = s (f z) :=by
funext i
exact DFunLike.congr_fun (hg i) z
change π (G (d z)) = f z
rw [hz]
exact DFunLike.congr_fun hs (f z)
theoremextend_comparison_up [Module.ProjectiveRK]
(e : K→ₗ[R] L) (d : L→ₗ[R] M) (hde : d.comp e = 0)
(e' : U→ₗ[R] V) (d' : V→ₗ[R] W)
(hex : LinearMap.range e' = LinearMap.ker d')
(f : L→ₗ[R] V) (g : M→ₗ[R] W) (hfg : d'.comp f = g.comp d) :
∃h : K→ₗ[R] U, e'.comp h = f.comp e :=by
proof · 6
lines
apply lift_through_exact e' d' hex (f.comp e)
ext t
change d' (f (e t)) = 0calc
d' (f (e t)) = g (d (e t)) :=DFunLike.congr_fun hfg (e t)
_ = 0:=by rw [show d (e t) = 0fromDFunLike.congr_fun hde t, map_zero]
theoremextend_comparison_down [Module.FiniteRW] [Module.ProjectiveRW]
(e : K→ₗ[R] L) (d : L→ₗ[R] M) (hdual : HomExactAt e d)
(e' : U→ₗ[R] V) (d' : V→ₗ[R] W) (hde' : d'.comp e' = 0)
(f : K→ₗ[R] U) (g : L→ₗ[R] V) (hfg : e'.comp f = g.comp e) :
∃h : M→ₗ[R] W, h.comp d = d'.comp g :=by
proof · 6
lines
apply hdual.projective (d'.comp g)
ext t
change d' (g (e t)) = 0calc
d' (g (e t)) = d' (e' (f t)) := congrArg d' (DFunLike.congr_fun hfg t).symm
_ = 0:=DFunLike.congr_fun hde' (f t)