openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /Modules /CoinducedEmbedding.lean
roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
2.27 kB
10
def adjoint (φ : Module.Dual k M) : M →ₗ[R] Coinduced k R where
body · 9 lines
  toFun m := ⟨{
    toFun := fun r => φ (r • m)
    map_add' := fun r s => by simp [add_smul]
    map_smul' := fun c r => by simp [smul_assoc] }⟩
  map_add' m n := by ext r; simp [smul_add]
  map_smul' r m := by
    ext s
    change φ (s • r • m) = φ ((s * r) • m)
    rw [mul_smul]
21
@[simp] theorem adjoint_eval_one (φ : Module.Dual k M) (m : M) :
    (adjoint (R := R) φ m).functional (1 : R) = φ m := by simp [adjoint]
26
noncomputable def finiteEmbedding : M →ₗ[R] (Fin (Module.finrank k M) → Coinduced k R) :=
body · 1 line
  LinearMap.pi fun i => adjoint ((Module.finBasis k M).coord i)
29
theorem finiteEmbedding_injective :
    Function.Injective (finiteEmbedding (k := k) (R := R) (M := M)) := by
proof · 6 lines
  intro x y h
  apply (Module.finBasis k M).ext_elem
  intro i
  have hi := congrArg (fun f : Fin (Module.finrank k M) → Coinduced k R =>
    (f i).functional 1) h
  simpa [finiteEmbedding, Module.Basis.coord_apply] using hi
47
noncomputable def finiteFreeEmbedding : M →ₗ[R] (Fin (Module.finrank k M) → R) :=
body · 2 lines
  LinearMap.pi fun i => τ.leftEquiv.symm.toLinearMap.comp
    (Coinduced.adjoint ((Module.finBasis k M).coord i))
51
theorem finiteFreeEmbedding_injective :
    Function.Injective (τ.finiteFreeEmbedding (M := M)) := by
proof · 5 lines
  intro x y h
  apply Coinduced.finiteEmbedding_injective (k := k) (R := R)
  funext i
  have hi := congrFun h i
  exact τ.leftEquiv.symm.injective hi
60
theorem exists_finiteFree_embedding :
    ∃ n : ℕ, ∃ i : M →ₗ[R] (Fin n → R), Function.Injective i :=
proof · 1 line
  ⟨Module.finrank k M, τ.finiteFreeEmbedding, τ.finiteFreeEmbedding_injective⟩