Download data/lean/OAI/Algebra/Finitistic/Selection/TestModules.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.91 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/Finitistic/Selection/TestModules.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Algebra/Finitistic/Selection/TestModules.lean
-
curl -L -o TestModules.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/Finitistic/Selection/TestModules.lean
2.91 kB
| import OAI.Algebra.Finitistic.Selection.CharacterModule | |
| import OAI.Algebra.Finitistic.Selection.SelectionCharacter | |
| import OAI.Algebra.Finitistic.Selection.SelectionAlgebra | |
| namespace OAI | |
| namespace LittleFinitistic | |
| open MonoidAlgebra | |
| noncomputable abbrev TestModule (m : β) [NeZero m] := | |
| CharacterModule.eigenspace (quotientCentralEmbedding m) (selectionCharacter m) | |
| (quotientCentralEmbedding_central m) | |
| noncomputable instance testModule_nontrivial (m : β) [NeZero m] : Nontrivial (TestModule m) := | |
| CharacterModule.eigenspace_nontrivial _ _ _ (quotientCentralEmbedding_injective m) | |
| noncomputable instance testModule_finiteDimensional (m : β) [NeZero m] : | |
| FiniteDimensional β (TestModule m) := | |
| CharacterModule.eigenspace_finiteDimensional _ _ _ | |
| noncomputable def testRingMap (m : β) [NeZero m] : | |
| SelectionRing ββ[β] MonoidAlgebra β (FiniteQuotientGroup m) := | |
| MonoidAlgebra.mapDomainAlgHom β β (finiteQuotientMap m) | |
| noncomputable instance testModule_module (m : β) [NeZero m] : | |
| Module SelectionRing (TestModule m) := | |
| Module.compHom (TestModule m) (testRingMap m).toRingHom | |
| @[simp] theorem testModule_smul_val (m : β) [NeZero m] | |
| (r : SelectionRing) (x : TestModule m) : | |
| ((r β’ x : TestModule m) : MonoidAlgebra β (FiniteQuotientGroup m)) = testRingMap m r * x := rfl | |
| instance testModule_scalarTower (m : β) [NeZero m] : IsScalarTower β SelectionRing (TestModule m) where | |
| smul_assoc c r x := by | |
| apply Subtype.ext | |
| change testRingMap m (c β’ r) * x.val = c β’ (testRingMap m r * x.val) | |
| rw [map_smul,smul_mul_assoc] | |
| @[simp] theorem testRingMap_algebraZ (m : β) [NeZero m] (q : β€) : | |
| testRingMap m (algebraZ q) = single (finiteQuotientMap m (Presentation.z q)) 1 := by | |
| simp [testRingMap,algebraZ] | |
| theorem testModule_basis_action (m : β) [NeZero m] (i : Fin m) (x : TestModule m) : | |
| algebraZ i.val β’ x = (if i = lastIndex m then (-1 : β) else 1) β’ x := by | |
| apply Subtype.ext | |
| change testRingMap m (algebraZ i.val) * x.val = _ | |
| rw [testRingMap_algebraZ,β quotientCentralEmbedding_basis] | |
| have hx := x.property (Multiplicative.ofAdd (Pi.single i 1)) | |
| rw [selectionCharacter_basis] at hx | |
| by_cases h : i = lastIndex m | |
| Β· simp only [h,ite_true,Units.val_neg,Units.val_one] at hx β’ | |
| exact hx | |
| Β· simp only [h,ite_false,Units.val_one] at hx β’ | |
| exact hx | |
| /-- The first mβ1 selecting idempotents act as identity; the next acts as zero. -/ | |
| theorem testModule_idempotent_action (m : β) [NeZero m] (i : Fin m) (x : TestModule m) : | |
| selectionIdempotent i.val β’ x = if i = lastIndex m then 0 else x := by | |
| classical | |
| unfold selectionIdempotent | |
| rw [smul_assoc,add_smul,one_smul,testModule_basis_action] | |
| split_ifs | |
| Β· rw [show (-1 : β) β’ x = -x from neg_one_smul β x,add_neg_cancel,smul_zero] | |
| Β· rw [one_smul,β two_smul β x,smul_smul] | |
| norm_num | |
| end LittleFinitistic | |
| end OAI | |