File size: 4,776 Bytes
4a56cd6 | 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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | import OAI.Algebra.AuslanderReiten.Tensor.EnvelopingBalancedRegular
import Mathlib.LinearAlgebra.TensorProduct.Basis
import Mathlib.Algebra.Module.Projective
import Mathlib.LinearAlgebra.Pi
import Mathlib.RingTheory.Finiteness.Cardinality
namespace OAI
noncomputable section
open CategoryTheory
open scoped TensorProduct ModuleCat.Algebra
namespace ArExplicit.EnvelopingBimodule
universe u
variable {k R : Type u} [Field k] [Ring R] [Algebra k R]
variable (X : ModuleCat.{u} R) [Module k X] [IsScalarTower k R X]
private instance finitePiProjective {V : Type u} [AddCommGroup V] [Module R V]
[Module.Projective R V] (n : β) : Module.Projective R (Fin n β V) :=
Module.Projective.of_equiv (DFinsupp.linearEquivFunOnFintype :
(Ξ β _ : Fin n, V) ββ[R] (Fin n β V))
instance regular_projective :
Module.Projective R (BalancedTensor k R (EnvelopingBimodule k R (regularObject k R)) X) :=
Module.Projective.of_equiv (regularEquiv k R X).symm
variable (M : ModuleCat.{u} (R β[k] Rα΅α΅α΅))
variable [Module k M] [IsScalarTower k (R β[k] Rα΅α΅α΅) M]
abbrev piObject (n : β) : ModuleCat.{u} (R β[k] Rα΅α΅α΅) :=
ModuleCat.of (R β[k] Rα΅α΅α΅) (Fin n β M)
def piProjection (n : β) (i : Fin n) : piObject M n βΆ M :=
ModuleCat.ofHom (LinearMap.proj i)
def piInclusion (n : β) (i : Fin n) : M βΆ piObject M n :=
ModuleCat.ofHom (LinearMap.single (R β[k] Rα΅α΅α΅) (fun _ : Fin n => M) i)
def tensorPiCoordinates (n : β) :
BalancedTensor k R (EnvelopingBimodule k R (piObject M n)) X ββ[R]
(Fin n β BalancedTensor k R (EnvelopingBimodule k R M) X) :=
LinearMap.pi fun i => tensorMap X (piProjection M n i)
def tensorPiRecombine (n : β) :
(Fin n β BalancedTensor k R (EnvelopingBimodule k R M) X) ββ[R]
BalancedTensor k R (EnvelopingBimodule k R (piObject M n)) X :=
β i, (tensorMap X (piInclusion M n i)).comp (LinearMap.proj i)
omit [IsScalarTower k R X] in
@[simp] theorem tensorPiRecombine_apply (n : β)
(v : Fin n β BalancedTensor k R (EnvelopingBimodule k R M) X) :
tensorPiRecombine X M n v = β i, tensorMap X (piInclusion M n i) (v i) := by
simp only [tensorPiRecombine, LinearMap.sum_apply, LinearMap.comp_apply, LinearMap.proj_apply]
private theorem pi_reconstruct (n : β) (f : EnvelopingBimodule k R (piObject M n)) :
β i, map (piInclusion M n i) (map (piProjection M n i) f) = f := by
apply EnvelopingBimodule.ext
change (scalarEquiv (piObject M n)) (β i, map (piInclusion M n i) (map (piProjection M n i) f)) = f.value
rw [_root_.map_sum]
change (β i, Pi.single i (f.value i)) = f.value
exact Finset.univ_sum_single f.value
omit [IsScalarTower k R X] in
theorem tensorPi_retraction (n : β) :
(tensorPiRecombine X M n).comp (tensorPiCoordinates X M n) = LinearMap.id := by
apply LinearMap.ext
intro z
change tensorPiRecombine X M n (tensorPiCoordinates X M n z) = z
induction z using BalancedTensor.induction_on with
| zero => simp only [_root_.map_zero]
| add z w hz hw => simp only [_root_.map_add, hz, hw]
| tmul f x =>
rw [tensorPiRecombine_apply]
change (β i, tensorMap X (piInclusion M n i)
(tensorMap X (piProjection M n i) (BalancedTensor.tmul f x))) = BalancedTensor.tmul f x
simp only [tensorMap_tmul]
change (β i, ((BalancedTensor.mk (k := k) (R := R)).flip x)
(map (piInclusion M n i) (map (piProjection M n i) f))) = _
rw [β _root_.map_sum, pi_reconstruct]
rfl
omit [IsScalarTower k R X] in
theorem tensorPi_projective
[Module.Projective R (BalancedTensor k R (EnvelopingBimodule k R M) X)] (n : β) :
Module.Projective R (BalancedTensor k R (EnvelopingBimodule k R (piObject M n)) X) :=
Module.Projective.of_split (R := R) (tensorPiCoordinates X M n) (tensorPiRecombine X M n)
(tensorPi_retraction X M n)
theorem tensor_projective [Module.Finite (R β[k] Rα΅α΅α΅) M]
[Module.Projective (R β[k] Rα΅α΅α΅) M] :
Module.Projective R (BalancedTensor k R (EnvelopingBimodule k R M) X) := by
obtain β¨n, p, hpβ© := Module.Finite.exists_fin' (R β[k] Rα΅α΅α΅) M
obtain β¨s, hsβ© := Module.projective_lifting_property p
(LinearMap.id : M ββ[R β[k] Rα΅α΅α΅] M) hp
let := regular_projective (k := k) (R := R) X
let : Module.Projective R (BalancedTensor k R
(EnvelopingBimodule k R (piObject (regularObject k R) n)) X) :=
tensorPi_projective X (regularObject k R) n
apply Module.Projective.of_split (tensorMap X (ModuleCat.ofHom s))
(tensorMap X (ModuleCat.ofHom p))
rw [β tensorMap_comp]
have hsp : ModuleCat.ofHom s β« ModuleCat.ofHom p = π M := by
apply ModuleCat.hom_ext
exact hs
rw [hsp, tensorMap_id]
end ArExplicit.EnvelopingBimodule
end
end OAI
|