Download data/lean/OAI/Algebra/Finitistic/Selection/CharacterModule.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.16 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/Finitistic/Selection/CharacterModule.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Algebra/Finitistic/Selection/CharacterModule.lean
-
curl -L -o CharacterModule.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Algebra/Finitistic/Selection/CharacterModule.lean
3.16 kB
| import Mathlib.Algebra.MonoidAlgebra.Basic | |
| import Mathlib.Basic.Complex.Basic | |
| import Mathlib.Tactic.FieldSimp | |
| import Mathlib.LinearAlgebra.FiniteDimensional.Basic | |
| import OAI.Algebra.Finitistic.Selection.MatrixModel | |
| namespace OAI | |
| open scoped BigOperators | |
| namespace LittleFinitistic | |
| namespace CharacterModule | |
| open MonoidAlgebra | |
| variable {H F : Type*} [Group H] [Group F] [Fintype H] | |
| variable (Ο : H β* F) (Ο : H β* βΛ£) | |
| /-- The unnormalized character projector. Its identity coefficient is one, | |
| so normalization is unnecessary for constructing the nonzero test module. -/ | |
| noncomputable def projector : MonoidAlgebra β F := | |
| β h : H, single (Ο h) ((Ο h : β)β»ΒΉ) | |
| theorem projector_coeff_one (hΟ : Function.Injective Ο) : | |
| (projector Ο Ο).coeff 1 = 1 := by | |
| classical | |
| have hp (h : H) : Ο h = 1 β h = 1 := by | |
| rw [β map_one Ο] | |
| exact hΟ.eq_iff | |
| simp [projector, coeff_sum, coeff_single, Finsupp.single_apply, hp] | |
| theorem projector_ne_zero (hΟ : Function.Injective Ο) : projector Ο Ο β 0 := by | |
| intro h | |
| have := projector_coeff_one Ο Ο hΟ | |
| rw [h] at this | |
| simp at this | |
| theorem projector_eigen (h : H) : | |
| single (Ο h) (1 : β) * projector Ο Ο = (Ο h : β) β’ projector Ο Ο := by | |
| classical | |
| unfold projector | |
| rw [Finset.mul_sum, Finset.smul_sum] | |
| have he := Equiv.sum_comp (Equiv.mulLeft h) (fun k : H => | |
| (Ο h : β) β’ single (Ο k) ((Ο k : β)β»ΒΉ)) | |
| rw [β he] | |
| apply Finset.sum_congr rfl | |
| intro k _ | |
| change single (Ο h) (1 : β) * single (Ο k) ((Ο k : β)β»ΒΉ) = | |
| (Ο h : β) β’ single (Ο (h*k)) ((Ο (h*k) : β)β»ΒΉ) | |
| simp only [map_mul,Units.val_mul,single_mul_single,one_mul, | |
| smul_single,smul_eq_mul] | |
| congr 1 | |
| field_simp | |
| variable (hc : β h g, Commute (Ο h) g) | |
| /-- All vectors on which the central subgroup acts by the selected character. -/ | |
| noncomputable def eigenspace : Submodule (MonoidAlgebra β F) (MonoidAlgebra β F) where | |
| carrier := {x | β h, single (Ο h) (1 : β) * x = (Ο h : β) β’ x} | |
| zero_mem' := by simp | |
| add_mem' := by | |
| intro a b ha hb h | |
| simp [mul_add,ha h,hb h,smul_add] | |
| smul_mem' := by | |
| intro a x hx h | |
| change single (Ο h) (1 : β) * (a*x) = (Ο h : β) β’ (a*x) | |
| rw [β mul_assoc, (MonoidAlgebra.single_commute (hc h) Commute.one_left a).eq, | |
| mul_assoc,hx h,mul_smul_comm] | |
| theorem projector_mem : projector Ο Ο β eigenspace Ο Ο hc := | |
| projector_eigen Ο Ο | |
| theorem eigenspace_nontrivial (hΟ : Function.Injective Ο) : | |
| Nontrivial (eigenspace Ο Ο hc) := by | |
| refine β¨β¨β¨projector Ο Ο,projector_mem Ο Ο hcβ©,0,?_β©β© | |
| intro h | |
| exact projector_ne_zero Ο Ο hΟ (congrArg Subtype.val h) | |
| omit [Fintype H] in | |
| theorem eigenspace_finiteDimensional [Finite F] : | |
| FiniteDimensional β (eigenspace Ο Ο hc) := by | |
| have : FiniteDimensional β (MonoidAlgebra β F) := | |
| Module.Finite.equiv (MonoidAlgebra.coeffLinearEquiv β : MonoidAlgebra β F ββ[β] (F ββ β)).symm | |
| exact FiniteDimensional.of_injective ((eigenspace Ο Ο hc).restrictScalars β).subtype | |
| Subtype.val_injective | |
| end CharacterModule | |
| end LittleFinitistic | |
| end OAI | |