Download data/lean/OAI/Probability/CriticalPercolation/LinearGroups/AbsoluteMatrixSpan.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.94 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/CriticalPercolation/LinearGroups/AbsoluteMatrixSpan.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/CriticalPercolation/LinearGroups/AbsoluteMatrixSpan.lean
-
curl -L -o AbsoluteMatrixSpan.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/CriticalPercolation/LinearGroups/AbsoluteMatrixSpan.lean
2.94 kB
| import Mathlib | |
| import OAI.Probability.CriticalPercolation.LinearGroups.FieldSpanTransfer | |
| import OAI.Probability.CriticalPercolation.LinearGroups.FullSpanAlternative | |
| namespace OAI | |
| section | |
| noncomputable section | |
| open Set Function Module | |
| open scoped Classical | |
| namespace CriticalPercolation.LinearGrowth | |
| variable {K L T G n : Type*} [Field K] [Field L] [Field T] [Group G] | |
| variable [Fintype n] [DecidableEq n] | |
| def matrixRepresentation (Ο : G β* GL n K) : G β* ((n β K) ββ[K] (n β K)) := | |
| (LinearMap.GeneralLinearGroup.generalLinearEquiv K (n β K)).toMonoidHom.comp | |
| (Matrix.GeneralLinearGroup.toLin.toMonoidHom.comp Ο) | |
| @[simp] lemma matrixRepresentation_apply (Ο : G β* GL n K) (g : G) (v : n β K) : | |
| matrixRepresentation Ο g v=(Ο g).val.mulVec v := rfl | |
| def matrixFlatten : Matrix n n K ββ[K] (n Γ n β K) where | |
| toFun M p := M p.1 p.2 | |
| invFun f i j := f (i,j) | |
| left_inv _ := rfl | |
| right_inv _ := rfl | |
| map_add' _ _ := rfl | |
| map_smul' _ _ := rfl | |
| def FullMatrixSpan (Ο : G β* GL n K) : Prop := | |
| Submodule.span K (Set.range (fun g (p : nΓn) => Ο g p.1 p.2))=β€ | |
| def StrongFullMatrixSpan (Ο : G β* GL n K) : Prop := | |
| β H : Subgroup G, H.FiniteIndex β FullMatrixSpan (Ο.comp H.subtype) | |
| lemma span_equiv_top {K V W J : Type*} [Field K] [AddCommGroup V] [Module K V] | |
| [AddCommGroup W] [Module K W] (e : V ββ[K] W) (v : J β V) | |
| (hv : Submodule.span K (Set.range v)=β€) : | |
| Submodule.span K (Set.range (fun j => e (v j)))=β€ := by | |
| rw [show Set.range (fun j => e (v j))=e '' Set.range v from (Set.range_comp _ _)] | |
| change Submodule.span K (e.toLinearMap '' Set.range v)=β€ | |
| rw [βSubmodule.map_span e.toLinearMap,hv,Submodule.map_top] | |
| exact e.range | |
| lemma FullMatrixSpan.fullSpan (Ο : G β* GL n K) (hΟ : FullMatrixSpan Ο) : | |
| FullSpan (matrixRepresentation Ο) := by | |
| let e := (matrixFlatten (K:=K) (n:=n)).symm.trans Matrix.toLin' | |
| exact span_equiv_top e (fun g (p:nΓn) => Ο g p.1 p.2) hΟ | |
| lemma StrongFullMatrixSpan.strongFullSpan (Ο : G β* GL n K) (hΟ : StrongFullMatrixSpan Ο) : | |
| StrongFullSpan (matrixRepresentation Ο) := by | |
| intro H hH | |
| exact FullMatrixSpan.fullSpan (Ο.comp H.subtype) (hΟ H hH) | |
| lemma FullMatrixSpan.transfer (f : K β+* T) (e : L β+* T) | |
| (Ο : G β* GL n K) (Ο : G β* GL n L) | |
| (hm : β g i j, f (Ο g i j)=e (Ο g i j)) (hΟ : FullMatrixSpan Ο) : FullMatrixSpan Ο := | |
| pi_span_transfer f e (fun g (p:nΓn) => Ο g p.1 p.2) | |
| (fun g (p:nΓn) => Ο g p.1 p.2) (fun g p => hm g p.1 p.2) hΟ | |
| lemma StrongFullMatrixSpan.transfer (f : K β+* T) (e : L β+* T) | |
| (Ο : G β* GL n K) (Ο : G β* GL n L) | |
| (hm : β g i j, f (Ο g i j)=e (Ο g i j)) (hΟ : StrongFullMatrixSpan Ο) : | |
| StrongFullMatrixSpan Ο := by | |
| intro H hH | |
| exact FullMatrixSpan.transfer f e (Ο.comp H.subtype) (Ο.comp H.subtype) | |
| (fun g i j => hm g i j) (hΟ H hH) | |
| end CriticalPercolation.LinearGrowth | |
| end | |
| end | |
| end OAI | |