Download lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorProjective.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 2.21 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorProjective.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorProjective.lean
-
curl -L -o BalancedTensorProjective.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorProjective.lean
2.21 kB
Lean 4 · 3
declarations statementsfull
private instance finitePiProjective {S P ι : Type*} [Ring S] [AddCommGroup P]
[Module S P] [Module.Projective S P] [Fintype ι] : Module.Projective S (ι → P) := body · 2 lines
Module.Projective.of_equiv (DFinsupp.linearEquivFunOnFintype :
(Π₀ _ : ι, P) ≃ₗ[S] (ι → P))theorem projective [Module.Projective S F] [Module.Finite R M] [Module.Projective R M] :
Module.Projective S (BalancedTensor k R F M) := by proof · 8 lines
obtain ⟨n, p, hp⟩ := Module.Finite.exists_fin' R M
obtain ⟨s, hs⟩ := Module.projective_lifting_property p (LinearMap.id : M →ₗ[R] M) hp
let : Module.Projective S (BalancedTensor k R F R) :=
Module.Projective.of_equiv (runitLeft (k := k) (R := R) (S := S) (F := F)).symm
let : Module.Projective S (BalancedTensor k R F (Fin n → R)) :=
Module.Projective.of_equiv (piRight (k := k) (R := R) (S := S) (F := F) (M := R)).symm
apply Module.Projective.of_split (mapRight (k := k) (S := S) s) (mapRight (k := k) (S := S) p)
rw [← mapRight_comp, hs, mapRight_id]theorem finite [Module.Finite S F] [Module.Finite R M] :
Module.Finite S (BalancedTensor k R F M) := by proof · 6 lines
obtain ⟨n, p, hp⟩ := Module.Finite.exists_fin' R M
let : Module.Finite S (BalancedTensor k R F R) :=
Module.Finite.equiv (runitLeft (k := k) (R := R) (S := S) (F := F)).symm
let : Module.Finite S (BalancedTensor k R F (Fin n → R)) :=
Module.Finite.equiv (piRight (k := k) (R := R) (S := S) (F := F) (M := R)).symm
exact Module.Finite.of_surjective (mapRight (k := k) (S := S) p) (mapRight_surjective p hp)Outline