math / data /lean /OAI /Algebra /Finitistic /Localization /FixedDiagram.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.03 kB
import OAI.Algebra.Finitistic.Localization.FormalSummandAction
import OAI.Algebra.Finitistic.Localization.DiagramLifting
namespace OAI
namespace LittleFinitistic.FixedDiagram
open CategoryTheory CategoryTheory.Category CategoryTheory.Limits CategoryTheory.Idempotents
open FormalSummandAction
variable {k R : Type*} [CommRing k] [Ring R] [Algebra k R]
variable {C Q : Type*} [Category C] [Category Q] [Preadditive C] [Preadditive Q]
[Linear k C] [Linear k Q]
/-- Algebra relations are the homogeneous quadratic diagram relations under any action. -/
theorem action_relations {X : Q} (ρ : R →ₐ[k] End X) (na nb nr : β„•)
(x : Fin na β†’ R) (y : Fin nb β†’ R) (c : Fin nr β†’ Fin na β†’ Fin nb β†’ k)
(hc : βˆ€ t, βˆ‘ a, βˆ‘ b, c t a b β€’ (y b * x a) = 0) :
βˆ€ t, βˆ‘ a, βˆ‘ b, c t a b β€’ ((ρ (x a) : X ⟢ X) ≫ ρ (y b)) = 0 := by
intro t
have h := congrArg ρ (hc t)
simpa only [map_sum,map_smul,map_mul,map_zero,End.mul_def] using h
variable (q : C β₯€ Q) (W : MorphismProperty C) [q.IsLocalization W]
[W.HasRightCalculusOfFractions] [q.Additive] [q.Linear k]
variable [HasShift Q β„€] [HasZeroObject Q]
[βˆ€ n : β„€, (shiftFunctor Q n).Additive] [Pretriangulated Q]
[βˆ€ n : β„€, (shiftFunctor Q n).Linear k]
local instance : HasFiniteBiproducts (Karoubi Q) := Karoubi.karoubi_hasFiniteBiproducts
local instance : HasBinaryBiproducts (Karoubi Q) :=
hasBinaryBiproducts_of_finite_biproducts (Karoubi Q)
include W in
/-- Fixed source-category objects and arrows, with every quadratic relation exact,
represent the odd double of the selecting action in the localization. -/
theorem fixed_diagram {L : Q} (ΞΈ : R →ₐ[k] End L)
(e : R) (he : e*e=e) (hec : βˆ€ r : R, e*r=r*e) (Ξ± : R →ₐ[k] R)
(na nb nr : β„•) (x : Fin na β†’ R) (y : Fin nb β†’ R)
(c : Fin nr β†’ Fin na β†’ Fin nb β†’ k)
(hc : βˆ€ t, βˆ‘ a, βˆ‘ b, c t a b β€’ (y b * x a) = 0) :
βˆƒ (Vβ‚€ : Q) (ρ₀ : R →ₐ[k] End Vβ‚€)
(i : (toKaroubi Q).obj Vβ‚€ β‰…
summand θ e he ⊞ OddDouble.formalShift (summand θ e he) 3)
(Dβ‚€ D₁ Dβ‚‚ : C) (Ο†β‚€ : q.obj Dβ‚€ β‰… Vβ‚€) (φ₁ : q.obj D₁ β‰… Vβ‚€)
(Ο†β‚‚ : q.obj Dβ‚‚ β‰… Vβ‚€) (f : Fin na β†’ (Dβ‚€ ⟢ D₁)) (g : Fin nb β†’ (D₁ ⟢ Dβ‚‚)),
(βˆ€ r : R, (toKaroubi Q).map (ρ₀ r) ≫ i.hom =
i.hom ≫ oddDoubleAction ΞΈ e he hec Ξ± r) ∧
(βˆ€ a, q.map (f a) ≫ φ₁.hom = Ο†β‚€.hom ≫ ρ₀ (x a)) ∧
(βˆ€ b, q.map (g b) ≫ Ο†β‚‚.hom = φ₁.hom ≫ ρ₀ (y b)) ∧
(βˆ€ t, βˆ‘ a, βˆ‘ b, c t a b β€’ (f a ≫ g b) = 0) := by
obtain ⟨Vβ‚€,ρ₀,i,hi⟩ := fixed_old_object_with_action ΞΈ e he hec Ξ±
obtain ⟨Dβ‚€,D₁,Dβ‚‚,Ο†β‚€,φ₁,Ο†β‚‚,f,g,hf,hg,hrel⟩ :=
DiagramLifting.finite_quadratic_diagram_lifting q W na nb nr Vβ‚€ Vβ‚€ Vβ‚€
(fun a => ρ₀ (x a)) (fun b => ρ₀ (y b)) c (action_relations ρ₀ na nb nr x y c hc)
exact ⟨Vβ‚€,ρ₀,i,Dβ‚€,D₁,Dβ‚‚,Ο†β‚€,φ₁,Ο†β‚‚,f,g,hi,hf,hg,hrel⟩
end LittleFinitistic.FixedDiagram
end OAI