Download lean/OAI/Algebra/AuslanderReiten/Ext/ExtendShortExact.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.8 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Ext/ExtendShortExact.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Ext/ExtendShortExact.lean
-
curl -L -o ExtendShortExact.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Ext/ExtendShortExact.lean
1.8 kB
Lean 4 · 1
declaration statementsfull
theorem extend_shortExact (e : c.Embedding c')
(S : ShortComplex (HomologicalComplex C c)) (h : S.ShortExact) :
(S.map (e.extendFunctor C)).ShortExact := by proof · 28 lines
have := h.mono_f
have := h.epi_g
apply HomologicalComplex.shortExact_of_degreewise_shortExact
intro j
by_cases hj : ∃ i, e.f i = j
· obtain ⟨i, hi⟩ := hj
let E : ((S.map (e.extendFunctor C)).map (HomologicalComplex.eval C c' j)) ≅
S.map (HomologicalComplex.eval C c i) :=
ShortComplex.isoMk (S.X₁.extendXIso e hi) (S.X₂.extendXIso e hi)
(S.X₃.extendXIso e hi)
(by
change (S.X₁.extendXIso e hi).hom ≫ S.f.f i =
(HomologicalComplex.extendMap S.f e).f j ≫ (S.X₂.extendXIso e hi).hom
rw [HomologicalComplex.extendMap_f _ _ hi]
simp)
(by
change (S.X₂.extendXIso e hi).hom ≫ S.g.f i =
(HomologicalComplex.extendMap S.g e).f j ≫ (S.X₃.extendXIso e hi).hom
rw [HomologicalComplex.extendMap_f _ _ hi]
simp)
exact ShortComplex.shortExact_of_iso E.symm (h.map (HomologicalComplex.eval C c i))
· have hj' : ∀ i, e.f i ≠ j := by simpa using hj
have h₁ := S.X₁.isZero_extend_X e j hj'
have h₂ := S.X₂.isZero_extend_X e j hj'
have h₃ := S.X₃.isZero_extend_X e j hj'
exact { exact := ShortComplex.exact_of_isZero_X₂ _ h₂
mono_f := h₁.mono _
epi_g := h₃.epi _ }Outline