openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /Tensor /BalancedTensorEquiv.lean
roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
2.88 kB
19
theorem inverse_equivariant_right (r : Rᵐᵒᵖ) (x : F') :
    e.symm (r • x) = r • e.symm x := by
proof · 2 lines
  apply e.injective
  rw [LinearEquiv.apply_symm_apply, he, LinearEquiv.apply_symm_apply]
25
theorem inverse_equivariant_left (r : R) (x : M') :
    v.symm (r • x) = r • v.symm x := by
proof · 2 lines
  apply v.injective
  rw [LinearEquiv.apply_symm_apply, hv, LinearEquiv.apply_symm_apply]
30
def congr : BalancedTensor k R F M ≃ₗ[k] BalancedTensor k R F' M' where
body · 21 lines
  __ := map e.toLinearMap v.toLinearMap he hv
  invFun := map e.symm.toLinearMap v.symm.toLinearMap
    (inverse_equivariant_right e he) (inverse_equivariant_left v hv)
  left_inv z := by
    change map e.symm.toLinearMap v.symm.toLinearMap
      (inverse_equivariant_right e he) (inverse_equivariant_left v hv)
      (map e.toLinearMap v.toLinearMap he hv z) = z
    induction z using induction_on with
    | zero => simp
    | add z w hz hw => simp only [map_add, hz, hw]
    | tmul f m => simp only [map_tmul, LinearEquiv.coe_coe,
        LinearEquiv.symm_apply_apply]
  right_inv z := by
    change map e.toLinearMap v.toLinearMap he hv
      (map e.symm.toLinearMap v.symm.toLinearMap
        (inverse_equivariant_right e he) (inverse_equivariant_left v hv) z) = z
    induction z using induction_on with
    | zero => simp
    | add z w hz hw => simp only [map_add, hz, hw]
    | tmul f m => simp only [map_tmul, LinearEquiv.coe_coe,
        LinearEquiv.apply_symm_apply]
53
@[simp] theorem congr_tmul (f : F) (m : M) :
    congr e v he hv (tmul f m) = tmul (e f) (v m) := rfl
63
theorem congr_smul (s : S) (z : BalancedTensor k R F M) :
    congr e v he hv (s • z) = s • congr e v he hv z := by
proof · 4 lines
  induction z using induction_on with
  | zero => simp
  | add z w hz hw => simp only [smul_add, map_add, hz, hw]
  | tmul f m => rw [smul_tmul, congr_tmul, hs, congr_tmul, smul_tmul]
70
def congrLeft : BalancedTensor k R F M ≃ₗ[S] BalancedTensor k R F' M' where
body · 2 lines
  __ := (congr e v he hv).toAddEquiv
  map_smul' := congr_smul e v he hv hs