File size: 2,943 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | 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
|