Download lean/OAI/Algebra/AuslanderReiten/Complete/RestrictionComplete.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.59 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Complete/RestrictionComplete.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Complete/RestrictionComplete.lean
-
curl -L -o RestrictionComplete.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Complete/RestrictionComplete.lean
2.59 kB
Lean 4 · 5
declarations statementsfull
def restrictRegularEquiv :
R ≃ₗ[R] ((ModuleCat.restrictScalars e.toRingHom).obj (ModuleCat.of S S)) where body · 6 lines
toFun := e
invFun := e.symm
left_inv := e.symm_apply_apply
right_inv := e.apply_symm_apply
map_add' := e.map_add
map_smul' a b := e.map_mul a btheorem restrict_equiv_finite (M : ModuleCat.{u} S) [Module.Finite S M] :
Module.Finite R ((ModuleCat.restrictScalars e.toRingHom).obj M) := by proof · 3 lines
let : Module.Finite R ((ModuleCat.restrictScalars e.toRingHom).obj (ModuleCat.of S S)) :=
Module.Finite.equiv (restrictRegularEquiv e)
exact restrict_finite e.toRingHom Mtheorem restrict_equiv_projective (M : ModuleCat.{u} S)
[Module.Finite S M] [Module.Projective S M] :
Module.Projective R ((ModuleCat.restrictScalars e.toRingHom).obj M) := by proof · 3 lines
let : Module.Projective R ((ModuleCat.restrictScalars e.toRingHom).obj (ModuleCat.of S S)) :=
Module.Projective.of_equiv (restrictRegularEquiv e)
exact restrict_projective e.toRingHom Mtheorem restrict_equiv_exactProjective (K : CochainComplex (ModuleCat.{u} S) ℤ)
(hK : ExactProjectiveCochain K) :
ExactProjectiveCochain
(((ModuleCat.restrictScalars e.toRingHom).mapHomologicalComplex _).obj K) where proof · 18 lines
finite n := by
let := hK.finite n
exact restrict_equiv_finite e (K.X n)
projective n := by
let := hK.finite n
let := hK.projective n
exact restrict_equiv_projective e (K.X n)
exactAt n := by
rw [HomologicalComplex.exactAt_iff' _ (n-1) n (n+1) (by simp) (by simp),
ShortComplex.moduleCat_exact_iff_range_eq_ker]
have he := hK.exactAt n
rw [HomologicalComplex.exactAt_iff' _ (n-1) n (n+1) (by simp) (by simp),
ShortComplex.moduleCat_exact_iff_range_eq_ker] at he
ext x
change x ∈ LinearMap.range (K.d (n-1) n).hom ↔
x ∈ LinearMap.ker (K.d n (n+1)).hom
rw [show LinearMap.range (K.d (n-1) n).hom =
LinearMap.ker (K.d n (n+1)).hom from he]theorem restrict_equiv_totallyAcyclic [Module.Injective R R]
(K : CochainComplex (ModuleCat.{u} S) ℤ) (hK : ExactProjectiveCochain K) :
TotallyAcyclicComplex (CompleteComparison.chainOfCochain
(((ModuleCat.restrictScalars e.toRingHom).mapHomologicalComplex _).obj K)) := proof · 1 line
(restrict_equiv_exactProjective e K hK).to_chain.totallyAcyclicOutline