math / data /lean /OAI /Algebra /Finitistic /Localization /CompletedShiftEvaluation.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.63 kB
import OAI.Algebra.Finitistic.Localization.CompletedImageEvaluation
namespace OAI
noncomputable section
open CategoryTheory CategoryTheory.Idempotents
attribute [local instance] HasDerivedCategory.standard
namespace LittleFinitistic.QuadraticEncoding
universe u v w z
section General
variable {C : Type u} [Category.{v} C] [Preadditive C]
variable {D : Type w} [Category.{z} D] [Preadditive D] [IsIdempotentComplete D]
variable (F : C β₯€ D) [F.Additive]
/-- Commutation with any endofunctor extends uniquely across idempotent completion. -/
def completedCommutationIso (S : C β₯€ C) (T : D β₯€ D) (e : S β‹™ F β‰… F β‹™ T) :
(functorExtensionβ‚‚ C C).obj S β‹™ (functorExtension C D).obj F β‰…
(functorExtension C D).obj F β‹™ T := by
let G := (functorExtension C D).obj F
let S' := (functorExtensionβ‚‚ C C).obj S
let h : toKaroubi C β‹™ (S' β‹™ G) β‰… toKaroubi C β‹™ (G β‹™ T) :=
(Functor.associator _ _ _).symm β‰ͺ≫
Functor.isoWhiskerRight ((functorExtensionβ‚‚CompWhiskeringLeftToKaroubiIso C C).app S) G β‰ͺ≫
Functor.associator _ _ _ β‰ͺ≫
Functor.isoWhiskerLeft S (completedExtensionFactors F) β‰ͺ≫ e β‰ͺ≫
Functor.isoWhiskerRight (completedExtensionFactors F).symm T β‰ͺ≫
Functor.associator _ _ _
exact (whiskeringLeftObjToKaroubiFullyFaithful (C := C) (D := D)).preimageIso h
end General
variable {k : Type u} [Field k] {d t : β„•} {P : Relations k d t}
variable {Y : Type v} [AddCommGroup Y] [Module k Y] [FiniteDimensional k Y]
variable (X : Representation P Y)
/-- This is the formal shift used by the native odd-double construction: shift
the underlying object and its idempotent. No shift coherence is assumed. -/
def completedDerivedShiftIso (n : β„€) :
(functorExtensionβ‚‚ (BoundedQ P) (BoundedQ P)).obj (shiftFunctor (BoundedQ P) n) β‹™
completedDerivedEvaluation X β‰…
completedDerivedEvaluation X β‹™ shiftFunctor (FiniteVectorDerived.{u,v} (k := k)) n :=
completedCommutationIso (derivedQuotientEvaluation X) _ _
((derivedQuotientEvaluation X).commShiftIso n)
/-- In particular, every formal shift of U evaluates to the same shift of eY. -/
def completedShiftedSummandImageIso (r : PresentedAlgebra P) (hr : r*r=r) (n : β„€) :
(completedDerivedEvaluation X).obj
(((functorExtensionβ‚‚ (BoundedQ P) (BoundedQ P)).obj (shiftFunctor (BoundedQ P) n)).obj
(quotientSummand r hr)) β‰… (evaluatedImageDerived X r)⟦n⟧ :=
(completedDerivedShiftIso X n).app (quotientSummand r hr) β‰ͺ≫
(shiftFunctor _ n).mapIso (completedSummandImageIso X r hr)
end LittleFinitistic.QuadraticEncoding
end
end OAI