math / data /lean /OAI /Algebra /Finitistic /Selected /SelectedOrdinaryModules.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.34 kB
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