Skip to content

Commit 9d6df56

Browse files
committed
generalize TensorProduct.DirectLimit as well
1 parent 0b03333 commit 9d6df56

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

Mathlib/LinearAlgebra/TensorProduct/DirectLimit.lean

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,17 @@ variable {M} in
6868
rw [toDirectLimit, lift.tmul, lift_of]
6969
rfl
7070

71-
variable [IsDirected ι (· ≤ ·)]
72-
7371
/--
7472
`limᵢ (Gᵢ ⊗ M)` and `(limᵢ Gᵢ) ⊗ M` are isomorphic as modules
7573
-/
7674
noncomputable def directLimitLeft :
7775
DirectLimit G f ⊗[R] M ≃ₗ[R] DirectLimit (G · ⊗[R] M) (f ▷ M) := by
78-
refine LinearEquiv.ofLinear (toDirectLimit f M) (fromDirectLimit f M) ?_ ?_
79-
<;> cases isEmpty_or_nonempty ι
80-
· ext; subsingleton
81-
· refine DFunLike.ext _ _ fun x ↦ x.induction_on fun i g ↦ g.induction_on ?_ ?_ ?_ <;> aesop
82-
· ext; subsingleton
83-
· exact ext (DFunLike.ext _ _ fun g ↦ DFunLike.ext _ _ fun _ ↦ g.induction_on <| by aesop)
76+
refine LinearEquiv.ofLinear (toDirectLimit f M) (fromDirectLimit f M) ?_ (ext ?_)
77+
· ext ⟨x⟩
78+
exact x.induction_on (by simp) (fun i x ↦ x.induction_on (by simp)
79+
(fun _ _ ↦ by rw [quotMk_of]; simp) <| by simp+contextual) (by simp+contextual)
80+
· ext ⟨x⟩ m
81+
exact x.induction_on (by simp) (fun _ _ by rw [quotMk_of]; simp) (by simp+contextual)
8482

8583
@[simp] lemma directLimitLeft_tmul_of {i : ι} (g : G i) (m : M) :
8684
directLimitLeft f M (of _ _ _ _ _ g ⊗ₜ m) = of _ _ _ (f ▷ M) _ (g ⊗ₜ m) :=

0 commit comments

Comments
 (0)