cfahlgren1/math / lean /OAI /Algebra /AuslanderReiten /Bar /BarBalancedModule.lean
cfahlgren1's picture
download
raw
5.14 kB
15
abbrev bar (n : ℕ) := EnvelopingBimodule k R (AbsoluteBar.moduleObject k R n)
16
abbrev evaluated (n : ℕ) := BalancedTensor k R (bar k R n) M
18
def coordinates (n : ℕ) : bar k R n ≃ₗ[k] AbsoluteBar.object k R n :=
body · 1 line
  EnvelopingBimodule.scalarEquiv (AbsoluteBar.moduleObject k R n)
21
theorem coordinates_left (n : ℕ) (a : R) (x : bar k R n) :
    coordinates k R n (a • x) = AbsoluteBar.left k R n a (coordinates k R n x) := by
proof · 4 lines
  change AbsoluteBar.left k R n a (AbsoluteBar.right k R n 1 x.value) =
    AbsoluteBar.left k R n a x.value
  rw [map_one]
  rfl
28
theorem coordinates_right (n : ℕ) (a : Rᵐᵒᵖ) (x : bar k R n) :
    coordinates k R n (a • x) = AbsoluteBar.right k R n a (coordinates k R n x) := by
proof · 3 lines
  change AbsoluteBar.left k R n 1 (AbsoluteBar.right k R n a x.value) =
    AbsoluteBar.right k R n a x.value
  exact AbsoluteBar.left_one k R n _
34
def evalBilinear (n : ℕ) : bar k R n →ₗ[k] M →ₗ[k] ModuleBar.moduleObject k R M n where
body · 15 lines
  toFun x := (rawEval k R M n).comp (TensorProduct.mk k (AbsoluteBar.object k R n) M
    (coordinates k R n x))
  map_add' x y := by
    ext m
    change rawEval k R M n (coordinates k R n (x+y) ⊗ₜ[k] m) =
      rawEval k R M n (coordinates k R n x ⊗ₜ[k] m) + rawEval k R M n (coordinates k R n y ⊗ₜ[k] m)
    rw [map_add, TensorProduct.add_tmul, map_add]
  map_smul' a x := by
    ext m
    change rawEval k R M n (coordinates k R n (a • x) ⊗ₜ[k] m) =
      a • rawEval k R M n (coordinates k R n x ⊗ₜ[k] m)
    rw [map_smul]
    exact (congrArg (rawEval k R M n)
      (TensorProduct.smul_tmul' a (coordinates k R n x) m).symm).trans
      ((rawEval k R M n).map_smul a (coordinates k R n x ⊗ₜ[k] m))
51
@[simp] theorem evalBilinear_apply (n : ℕ) (x : bar k R n) (m : M) :
    evalBilinear k R M n x m = rawEval k R M n ((coordinates k R n x) ⊗ₜ[k] m) := rfl
54
theorem evalBilinear_balance (n : ℕ) (x : bar k R n) (a : R) (m : M) :
    evalBilinear k R M n (MulOpposite.op a • x) m = evalBilinear k R M n x (a • m) := by
proof · 2 lines
  rw [evalBilinear_apply, coordinates_right, evalBilinear_apply]
  exact rawEval_right k R M n (MulOpposite.op a) _ m
59
theorem evalBilinear_left (n : ℕ) (a : R) (x : bar k R n) (m : M) :
    evalBilinear k R M n (a • x) m = a • evalBilinear k R M n x m := by
proof · 2 lines
  rw [evalBilinear_apply, coordinates_left]
  exact rawEval_left k R M n a _ m
64
def evaluation (n : ℕ) : evaluated k R M n →ₗ[R] ModuleBar.moduleObject k R M n :=
body · 2 lines
  BalancedTensor.liftLeft (evalBilinear k R M n) (evalBilinear_balance k R M n)
    (evalBilinear_left k R M n)
68
@[simp] theorem evaluation_tmul (n : ℕ) (x : bar k R n) (m : M) :
    evaluation k R M n (BalancedTensor.tmul x m) =
      rawEval k R M n ((coordinates k R n x) ⊗ₜ[k] m) := rfl
72
def prepend (n : ℕ) (a : R) : bar k R n →ₗ[k] bar k R (n+1) :=
body · 3 lines
  (coordinates k R (n+1)).symm.toLinearMap.comp
    ((TensorProduct.mk k R (AbsoluteBar.object k R n) a).comp
      (coordinates k R n).toLinearMap)
77
@[simp] theorem coordinates_prepend (n : ℕ) (a : R) (x : bar k R n) :
    coordinates k R (n+1) (prepend k R n a x) = a ⊗ₜ[k] coordinates k R n x :=
proof · 1 line
  (coordinates k R (n+1)).apply_symm_apply _
81
theorem prepend_right (n : ℕ) (a : R) (b : Rᵐᵒᵖ) (x : bar k R n) :
    prepend k R n a (b • x) = b • prepend k R n a x := by
proof · 3 lines
  apply (coordinates k R (n+1)).injective
  rw [coordinates_prepend, coordinates_right, coordinates_right,
    coordinates_prepend, AbsoluteBar.right_tmul]
87
def prependBalanced (n : ℕ) (a : R) : evaluated k R M n →ₗ[k] evaluated k R M (n+1) :=
body · 1 line
  BalancedTensor.map (prepend k R n a) LinearMap.id (prepend_right k R n a) (by intros; rfl)
91
@[simp] theorem prependBalanced_tmul (n : ℕ) (a : R) (x : bar k R n) (m : M) :
    prependBalanced k R M n a (BalancedTensor.tmul x m) =
      BalancedTensor.tmul (prepend k R n a x) m := rfl
95
def cons (n : ℕ) : R →ₗ[k] evaluated k R M n →ₗ[k] evaluated k R M (n+1) where
body · 16 lines
  toFun := prependBalanced k R M n
  map_add' a b := by
    apply BalancedTensor.hom_ext
    intro x m
    simp only [LinearMap.add_apply, prependBalanced_tmul]
    rw [← BalancedTensor.add_tmul (k := k) (R := R)]
    congr 1
    apply (coordinates k R (n+1)).injective
    rw [map_add, coordinates_prepend k R n (a+b) x,
      coordinates_prepend k R n a x, coordinates_prepend k R n b x, TensorProduct.add_tmul]
  map_smul' c a := by
    apply BalancedTensor.hom_ext
    intro x m
    simp only [RingHom.id_apply, LinearMap.smul_apply, prependBalanced_tmul]
    rw [← BalancedTensor.scalar_tmul (k := k) (R := R)]
    congr 1

Xet Storage Details

Size:
5.14 kB
·
Xet hash:
7251f4d2c7df39deb8452f88beb6a7fa703f6fd7807d6123b9b122cce73afbb9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.