Download lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedFourLinearExt.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.67 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedFourLinearExt.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedFourLinearExt.lean
-
curl -L -o BalancedFourLinearExt.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedFourLinearExt.lean
1.67 kB
| import OAI.Algebra.AuslanderReiten.Tensor.BalancedFourExt | |
| import Mathlib.Algebra.Category.ModuleCat.Basic | |
| namespace OAI | |
| noncomputable section | |
| namespace ArExplicit.ExternalBalanced | |
| open scoped TensorProduct | |
| universe u | |
| variable {k A B S E V F G X Y Z : Type u} [Field k] [Ring A] [Ring B] [Ring S] | |
| [Algebra k A] [Algebra k B] | |
| [AddCommGroup E] [AddCommGroup V] [AddCommGroup F] [AddCommGroup G] | |
| [AddCommGroup X] [AddCommGroup Y] [AddCommGroup Z] | |
| [Module k E] [Module k V] [Module k F] [Module k G] [Module k X] [Module k Y] [Module k Z] | |
| [Module (A ⊗[k] B)ᵐᵒᵖ E] [Module (A ⊗[k] B) V] | |
| [Module S (BalancedTensor k (A ⊗[k] B) E V)] [Module S Z] | |
| variable (e : E ≃ₗ[k] F ⊗[k] G) (v : V ≃ₗ[k] X ⊗[k] Y) | |
| omit [Module k Z] in | |
| theorem fourfold_linear_hom_ext | |
| (f g : BalancedTensor k (A ⊗[k] B) E V →ₗ[S] Z) | |
| (h : ∀ a b x y, f (BalancedTensor.tmul (e.symm (a ⊗ₜ[k] b)) (v.symm (x ⊗ₜ[k] y))) = | |
| g (BalancedTensor.tmul (e.symm (a ⊗ₜ[k] b)) (v.symm (x ⊗ₜ[k] y)))) : f=g := by | |
| apply LinearMap.ext | |
| intro z | |
| induction z using BalancedTensor.induction_on with | |
| | zero => simp | |
| | add z w hz hw => simp only [map_add, hz, hw] | |
| | tmul z w => | |
| obtain ⟨z, rfl⟩ := e.symm.surjective z | |
| obtain ⟨w, rfl⟩ := v.symm.surjective w | |
| induction z using TensorProduct.inductionOn with | |
| | add z z' hz hz' => simp only [map_add, BalancedTensor.add_tmul, hz, hz'] | |
| | tmul a b => | |
| induction w using TensorProduct.inductionOn with | |
| | add w w' hw hw' => simp only [map_add, BalancedTensor.tmul_add, hw, hw'] | |
| | tmul x y => exact h a b x y | |
| end ArExplicit.ExternalBalanced | |
| end | |
| end OAI | |