File size: 3,688 Bytes
d7f9a33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import OAI.Algebra.AuslanderReiten.HomComplex.FullHomComparison
import OAI.Algebra.AuslanderReiten.Algebras.FrobeniusTrace
import OAI.Algebra.AuslanderReiten.Complete.SelfInjectiveComplex
import Mathlib.Algebra.Homology.Embedding.ExtendHomology
import Mathlib.Algebra.Homology.HomotopyCategory.ShiftSequence
import Mathlib.Algebra.Homology.ShortComplex.ModuleCat

namespace OAI

open CategoryTheory

namespace ArExplicit

universe u

variable {R : Type u} [Ring R]

structure ExactProjectiveCochain (K : CochainComplex (ModuleCat.{u} R) ℤ) : Prop where
  finite : ∀ i, Module.Finite R (K.X i)
  projective : ∀ i, Module.Projective R (K.X i)
  exactAt : ∀ i, K.ExactAt i

theorem chain_exactAt_iff (P : ChainComplex (ModuleCat.{u} R) ℤ) (i : ℤ) :
    P.ExactAt i ↔ LinearMap.range (P.d (i + 1) i).hom =
      LinearMap.ker (P.d i (i - 1)).hom := by
  rw [P.exactAt_iff' (i := i + 1) (j := i) (k := i - 1)
      (ChainComplex.prev ℤ i) (ChainComplex.next ℤ i),
    ShortComplex.moduleCat_exact_iff_range_eq_ker]
  rfl

namespace ExactProjectiveCochain

open CompleteComparison

theorem of_chain {K : CochainComplex (ModuleCat.{u} R) ℤ}
    (hK : ExactProjectiveComplex (chainOfCochain K)) : ExactProjectiveCochain K where
  finite i := by
    let := hK.finite (-i)
    exact Module.Finite.equiv (CategoryTheory.Iso.toLinearEquiv (K.extendXIso negIndexEmbedding (i := i) (i' := -i) rfl))
  projective i := by
    let := hK.projective (-i)
    exact Module.Projective.of_equiv
      (CategoryTheory.Iso.toLinearEquiv (K.extendXIso negIndexEmbedding (i := i) (i' := -i) rfl))
  exactAt i :=
    (K.extend_exactAt_iff negIndexEmbedding (j := i) (j' := -i) rfl).mp
      ((chain_exactAt_iff (chainOfCochain K) (-i)).mpr (hK.exactAt (-i)))

theorem to_chain {K : CochainComplex (ModuleCat.{u} R) ℤ}
    (hK : ExactProjectiveCochain K) : ExactProjectiveComplex (chainOfCochain K) where
  finite i := by
    let := hK.finite (-i)
    exact Module.Finite.equiv (CategoryTheory.Iso.toLinearEquiv
      (K.extendXIso negIndexEmbedding (show negIndexEmbedding.f (-i) = i from neg_neg i))).symm
  projective i := by
    let := hK.projective (-i)
    exact Module.Projective.of_equiv (CategoryTheory.Iso.toLinearEquiv
      (K.extendXIso negIndexEmbedding (show negIndexEmbedding.f (-i) = i from neg_neg i))).symm
  exactAt i := (chain_exactAt_iff (chainOfCochain K) i).mp
    ((K.extend_exactAt_iff negIndexEmbedding (j := -i) (j' := i) (neg_neg i)).mpr
      (hK.exactAt (-i)))

theorem shift {K : CochainComplex (ModuleCat.{u} R) ℤ}
    (hK : ExactProjectiveCochain K) (n : ℤ) : ExactProjectiveCochain (K⟦n⟧) where
  finite i := hK.finite (i + n)
  projective i := hK.projective (i + n)
  exactAt i := ShortComplex.exact_of_iso
    ((CochainComplex.shiftShortComplexFunctorIso (ModuleCat.{u} R) n i (n + i) rfl).app K).symm
    (hK.exactAt (n + i))

end ExactProjectiveCochain

namespace ExactProjectiveComplex

open CompleteComparison

theorem cochainShift {K : CochainComplex (ModuleCat.{u} R) ℤ}
    (hK : ExactProjectiveComplex (chainOfCochain K)) (n : ℤ) :
    ExactProjectiveComplex (chainOfCochain (K⟦n⟧)) :=
  ((ExactProjectiveCochain.of_chain hK).shift n).to_chain

end ExactProjectiveComplex

namespace FrobeniusTrace

variable {k : Type u} [Field k] [Algebra k R] [Module.Finite k R]
open CompleteComparison

theorem totallyAcyclicShift (τ : FrobeniusTrace k R)
    {K : CochainComplex (ModuleCat.{u} R) ℤ}
    (hK : ExactProjectiveComplex (chainOfCochain K)) (n : ℤ) :
    TotallyAcyclicComplex (chainOfCochain (K⟦n⟧)) := by
  let := τ.regular_injective
  exact (hK.cochainShift n).totallyAcyclic

end FrobeniusTrace
end ArExplicit

end OAI