File size: 3,335 Bytes
ae00908
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import OAI.Algebra.Finitistic.Selected.SelectedOrdinaryAlgebra
import OAI.Algebra.Finitistic.Selection.FiniteSelectionFamily

namespace OAI
noncomputable section
open CategoryTheory CategoryTheory.Limits
namespace LittleFinitistic.SelectedOrdinaryModules
open SelectedFixedDiagram QuadraticEncoding SelectedOrdinaryAlgebra
open FiniteSelectionFamily

/-- The source module M(Y), supported on the first D-block and inflated to A. -/
def Inflated (Y : S.{0}) := (representation Y).Evaluation
instance (Y : S.{0}) : AddCommGroup (Inflated Y) :=
  inferInstanceAs (AddCommGroup (representation Y).Evaluation)
instance (Y : S.{0}) : Module ℂ (Inflated Y) :=
  inferInstanceAs (Module ℂ (representation Y).Evaluation)
instance (Y : S.{0}) : Module (B P) (Inflated Y) :=
  inferInstanceAs (Module (B P) (representation Y).Evaluation)
instance (Y : S.{0}) : IsScalarTower ℂ (B P) (Inflated Y) :=
  inferInstanceAs (IsScalarTower ℂ (B P) (representation Y).Evaluation)

abbrev firstProjection : D →+* B P := RingHom.fst _ _
abbrev augmentationRing : A →+* D := SelectedOrdinaryAlgebra.augmentation.toRingHom
instance (Y : S.{0}) : Module D (Inflated Y) := Module.compHom (Inflated Y) firstProjection
instance (Y : S.{0}) : Module A (Inflated Y) :=
  Module.compHom (Inflated Y) (firstProjection.comp augmentationRing)
instance (Y : S.{0}) : IsScalarTower ℂ D (Inflated Y) where
  smul_assoc c d x := by
    change (c • d.1) • x = c • (d.1 • x)
    exact smul_assoc c d.1 x
instance (Y : S.{0}) : IsScalarTower ℂ A (Inflated Y) where
  smul_assoc c a x := by
    change (c • a.fst.1) • x = c • (a.fst.1 • x)
    exact smul_assoc c a.fst.1 x
instance (Y : S.{0}) : FiniteDimensional ℂ (Inflated Y) :=
  inferInstanceAs (FiniteDimensional ℂ (representation Y).Evaluation)

instance (Y : S.{0}) : Module.Finite A (Inflated Y) :=
  Module.Finite.of_restrictScalars_finite ℂ A (Inflated Y)

abbrev module (Y : S.{0}) := ModuleCat.of A (Inflated Y)

/-- The actual D-action is exactly the original first B-block action. -/
theorem first_action (Y : S.{0}) (d : D) (n : Inflated Y) : d • n = d.1 • n := rfl
/-- The square-zero ideal acts by zero, as required by the bar calculation. -/
theorem ideal_annihilates (Y : S.{0}) (x : X) (n : Inflated Y) :
    (TrivSqZeroExt.inr x : A) • n = 0 := by
  change (0 : B P) • n = 0
  exact zero_smul _ _
theorem base_action (Y : S.{0}) (d : D) (n : Inflated Y) :
    (TrivSqZeroExt.inl d : A) • n = d • n := rfl

/-- Inflation preserves exactly the original module's zero criterion. -/
theorem isZero_iff (Y : S.{0}) : IsZero (module Y) ↔ Subsingleton Y.val := by
  rw [← FiniteSelectionFamily.module_zero Y]
  change IsZero (ModuleCat.of A (Inflated Y)) ↔ IsZero (FiniteSelectionFamily.module Y)
  rw [ModuleCat.isZero_iff_subsingleton, ModuleCat.isZero_iff_subsingleton]
  rfl

/-- Actual finite-dimensional modules over the one fixed A; their projective
 dimensions are the remaining homological conclusion. -/
abbrev testModule (m : ℕ) [NeZero m] := module (test m)

theorem test_nonzero (m : ℕ) [NeZero m] : ¬ IsZero (testModule m) := by
  intro h
  have hs := (isZero_iff (test m)).mp h
  have hn := selectionIterate_test_nontrivial m 0 (NeZero.pos m)
  exact @not_subsingleton _ hn hs
end LittleFinitistic.SelectedOrdinaryModules

end

end OAI