Download data/lean/OAI/RepresentationTheory/UniversalSquare/Support/SignedInduction.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.6 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/RepresentationTheory/UniversalSquare/Support/SignedInduction.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/RepresentationTheory/UniversalSquare/Support/SignedInduction.lean
-
curl -L -o SignedInduction.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/RepresentationTheory/UniversalSquare/Support/SignedInduction.lean
5.6 kB
| import Mathlib | |
| import OAI.RepresentationTheory.Saxl.Main | |
| import OAI.RepresentationTheory.UniversalSquare.Balance.BalancePacking | |
| namespace OAI | |
| /-! Signed Induction. -/ | |
| section | |
| noncomputable section | |
| open scoped TensorProduct | |
| namespace Saxl | |
| def externalTensorMap {a b : β} {X X' Y Y' : Type*} | |
| [AddCommGroup X] [Module β X] [AddCommGroup X'] [Module β X'] | |
| [AddCommGroup Y] [Module β Y] [AddCommGroup Y'] [Module β Y'] | |
| {Ο : Representation β (Equiv.Perm (Fin a)) X} | |
| {Ο' : Representation β (Equiv.Perm (Fin a)) X'} | |
| {Ο : Representation β (Equiv.Perm (Fin b)) Y} | |
| {Ο' : Representation β (Equiv.Perm (Fin b)) Y'} | |
| (F : Representation.IntertwiningMap Ο Ο') (G : Representation.IntertwiningMap Ο Ο') : | |
| Representation.IntertwiningMap (externalTensor Ο Ο) (externalTensor Ο' Ο') where | |
| toLinearMap := TensorProduct.map F.toLinearMap G.toLinearMap | |
| isIntertwining' g := by | |
| ext x y | |
| change F (Ο g.1 x) ββ[β] G (Ο g.2 y) = | |
| Ο' g.1 (F x) ββ[β] Ο' g.2 (G y) | |
| rw [F.isIntertwining, G.isIntertwining] | |
| lemma externalTensorMap_injective {a b : β} {X X' Y Y' : Type*} | |
| [AddCommGroup X] [Module β X] [AddCommGroup X'] [Module β X'] | |
| [AddCommGroup Y] [Module β Y] [AddCommGroup Y'] [Module β Y'] | |
| {Ο : Representation β (Equiv.Perm (Fin a)) X} | |
| {Ο' : Representation β (Equiv.Perm (Fin a)) X'} | |
| {Ο : Representation β (Equiv.Perm (Fin b)) Y} | |
| {Ο' : Representation β (Equiv.Perm (Fin b)) Y'} | |
| (F : Representation.IntertwiningMap Ο Ο') (G : Representation.IntertwiningMap Ο Ο') | |
| (hF : Function.Injective F) (hG : Function.Injective G) : | |
| Function.Injective (externalTensorMap F G) := | |
| TensorProduct.map_injective_of_flat_flat _ _ hF hG | |
| def signRestrictionMap {n a b : β} {X Y Z : Type*} | |
| [AddCommGroup X] [Module β X] [AddCommGroup Y] [Module β Y] | |
| [AddCommGroup Z] [Module β Z] | |
| {Ο : Representation β (Equiv.Perm (Fin n)) X} | |
| {Ο : Representation β (Equiv.Perm (Fin a)) Y} | |
| {Ο : Representation β (Equiv.Perm (Fin b)) Z} | |
| (e : Fin n β Fin a β Fin b) | |
| (f : Representation.IntertwiningMap (Ο.comp (sumPermHom e)) (externalTensor Ο Ο)) : | |
| Representation.IntertwiningMap ((signTwist Ο).comp (sumPermHom e)) | |
| (externalTensor (signTwist Ο) (signTwist Ο)) where | |
| toLinearMap := f.toLinearMap | |
| isIntertwining' g := by | |
| ext x | |
| change f (signC (sumPerm e g.1 g.2) β’ Ο (sumPerm e g.1 g.2) x) = | |
| TensorProduct.map (signTwist Ο g.1) (signTwist Ο g.2) (f x) | |
| rw [map_smul] | |
| have hf := LinearMap.congr_fun (f.isIntertwining' (g.1,g.2)) x | |
| change f (Ο (sumPerm e g.1 g.2) x) = | |
| TensorProduct.map (Ο g.1) (Ο g.2) (f x) at hf | |
| rw [hf,signC_sumPerm] | |
| generalize f x = z | |
| induction z using TensorProduct.inductionOn with | |
| | add x y hx hy => simp only [map_add,smul_add,hx,hy] | |
| | tmul x y => | |
| change (signC g.1 * signC g.2) β’ (Ο g.1 x ββ[β] Ο g.2 y) = | |
| (signC g.1 β’ Ο g.1 x) ββ[β] (signC g.2 β’ Ο g.2 y) | |
| rw [TensorProduct.smul_tmul_smul] | |
| lemma signRestrictionMap_ne_zero {n a b : β} {X Y Z : Type*} | |
| [AddCommGroup X] [Module β X] [AddCommGroup Y] [Module β Y] | |
| [AddCommGroup Z] [Module β Z] | |
| {Ο : Representation β (Equiv.Perm (Fin n)) X} | |
| {Ο : Representation β (Equiv.Perm (Fin a)) Y} | |
| {Ο : Representation β (Equiv.Perm (Fin b)) Z} | |
| (e : Fin n β Fin a β Fin b) | |
| (f : Representation.IntertwiningMap (Ο.comp (sumPermHom e)) (externalTensor Ο Ο)) | |
| (hf : f β 0) : signRestrictionMap e f β 0 := by | |
| intro h | |
| apply hf | |
| apply Representation.IntertwiningMap.ext | |
| apply LinearMap.ext | |
| intro x | |
| exact congrArg (fun H => H x) h | |
| def signDomainMap {n : β} {X Y : Type*} [AddCommGroup X] [Module β X] | |
| [AddCommGroup Y] [Module β Y] | |
| {Ο : Representation β (Equiv.Perm (Fin n)) X} | |
| {Ο : Representation β (Equiv.Perm (Fin n)) Y} | |
| (f : Representation.IntertwiningMap Ο (signTwist Ο)) : | |
| Representation.IntertwiningMap (signTwist Ο) Ο where | |
| toLinearMap := f.toLinearMap | |
| isIntertwining' g := by | |
| ext x | |
| change f (signC g β’ Ο g x) = Ο g (f x) | |
| rw [map_smul] | |
| have h := LinearMap.congr_fun (f.isIntertwining' g) x | |
| change f (Ο g x) = signC g β’ Ο g (f x) at h | |
| rw [h,smul_smul,signC_mul_self,one_smul] | |
| theorem signed_external_cyclic_support {n a b d : β} {X Y Z : Type*} | |
| [AddCommGroup X] [Module β X] [AddCommGroup Y] [Module β Y] | |
| [AddCommGroup Z] [Module β Z] | |
| (Ο : Representation β (Equiv.Perm (Fin n)) X) | |
| (Ο : Representation β (Equiv.Perm (Fin a)) Y) | |
| (Ο : Representation β (Equiv.Perm (Fin b)) Z) | |
| (e : Fin n β Fin a β Fin b) (v : WordSpace a d) (u : WordSpace b d) | |
| (A : Fin d β Prop) (hv : v β alphabetSub a d A) | |
| (hu : u β alphabetSub b d (fun z => Β¬ A z)) | |
| (F : Representation.IntertwiningMap Ο (signTwist (cyclic (wordRep a d) v).toRepresentation)) | |
| (G : Representation.IntertwiningMap Ο (signTwist (cyclic (wordRep b d) u).toRepresentation)) | |
| (hF : Function.Injective F) (hG : Function.Injective G) | |
| (f : Representation.IntertwiningMap (Ο.comp (sumPermHom e)) (externalTensor Ο Ο)) | |
| (hf : f β 0) : | |
| β H : Representation.IntertwiningMap (signTwist Ο) | |
| (cyclic (wordRep n d) (positionProduct e v u)).toRepresentation, H β 0 := by | |
| exact external_cyclic_support (signTwist Ο) (signTwist Ο) (signTwist Ο) e v u A hv hu | |
| (signDomainMap F) (signDomainMap G) hF hG (signRestrictionMap e f) | |
| (signRestrictionMap_ne_zero e f hf) | |
| end Saxl | |
| end | |
| end | |
| end OAI | |