Buckets:
| import OAI.Algebra.OddKaplansky.WreathMultiply | |
| namespace OAI | |
| universe contextUniverse1 contextUniverse2 contextUniverse3 | |
| universe portUniverse1 portUniverse2 portUniverse3 | |
| section | |
| namespace OddKaplansky.WreathFourier | |
| noncomputable section | |
| open scoped Classical BigOperators Matrix | |
| variable {K : Type portUniverse1} {H : Type portUniverse2} {R : Type portUniverse3} [Field K] [Group H] [Fintype H] [sectionInstance16 : Fintype R] | |
| variable (M : ℕ) [NeZero M] {ζ : K} (hζ : IsPrimitiveRoot ζ M) | |
| variable (hc : (Fintype.card (Base (H := H) M) : K) ≠ 0) | |
| variable (lmb : R → Base (H := H) M) | |
| variable (hinj : Function.Injective (fun a : R × H => shift M a.2 (lmb a.1))) | |
| def freeUnit (a : R × H × H) : MonoidAlgebra K (Wreath (H := H) M) := | |
| normal M hζ (shift M a.2.1 (lmb a.1)) (a.2.1*a.2.2⁻¹) | |
| lemma freeUnit_mul | |
| {K : Type contextUniverse1} | |
| {H : Type contextUniverse2} | |
| {R : Type contextUniverse3} | |
| [contextInstance3 : Field.{contextUniverse1} K] | |
| [contextInstance4 : Group.{contextUniverse2} H] | |
| [contextInstance5 : Fintype.{contextUniverse2} H] | |
| [Fintype.{contextUniverse3} R] | |
| (M : Nat) | |
| [contextInstance8 : .{0} Nat (.toZero.{0} Nat Nat.instMulZeroClass) M] | |
| {ζ : K} | |
| (hζ : .{contextUniverse1} K (.toCommMonoid.{contextUniverse1} K (.toCommRing.{contextUniverse1} K contextInstance3)) ζ M) | |
| (hc : .{contextUniverse1 + 1} K | |
| (.cast.{contextUniverse1} K | |
| (.toNatCast.{contextUniverse1} K | |
| (.toAddMonoidWithOne.{contextUniverse1} K | |
| (.toAddGroupWithOne.{contextUniverse1} K | |
| (.toRing.{contextUniverse1} K (.toDivisionRing.{contextUniverse1} K contextInstance3))))) | |
| (.card.{contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instFintype.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) | |
| (fun a b => Classical.propDecidable (.{contextUniverse2 + 1} H a b)) contextInstance5 fun _ => | |
| .fintype.{0} (ZMod M) (.fintype M contextInstance8)))) | |
| (.ofNat.{contextUniverse1} K (nat_lit 0) | |
| (.toOfNat0.{contextUniverse1} K | |
| (.toZero.{contextUniverse1} K | |
| (.{contextUniverse1} K | |
| (.toSemiring.{contextUniverse1} K | |
| (.toCommSemiring.{contextUniverse1} K (.toSemifield.{contextUniverse1} K contextInstance3)))))))) | |
| (lmb : R → .WreathFourier.Base.{contextUniverse2} H M) | |
| (hinj : .Injective.{max (contextUniverse2 + 1) (contextUniverse3 + 1), contextUniverse2 + 1} (Prod.{contextUniverse3, contextUniverse2} R H) | |
| (.WreathFourier.Base.{contextUniverse2} H M) fun a => | |
| .coe.{contextUniverse2 + 1, contextUniverse2 + 1, contextUniverse2 + 1} | |
| (.{contextUniverse2, contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M))))))) | |
| (.WreathFourier.Base.{contextUniverse2} H M) (fun _ => @OddKaplansky.WreathFourier.Base.{contextUniverse2} H M) | |
| (.toFunLike.{contextUniverse2 + 1, contextUniverse2 + 1, contextUniverse2 + 1} | |
| (.{contextUniverse2, contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M))))))) | |
| (.WreathFourier.Base.{contextUniverse2} H M) (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instEquivLike.{contextUniverse2, contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))))) | |
| (.WreathFourier.shift.{contextUniverse2} H contextInstance4 M (.snd.{contextUniverse3, contextUniverse2} R H a)) | |
| (lmb (.fst.{contextUniverse3, contextUniverse2} R H a))) (r s : R) (x y z t : H) : | |
| freeUnit M hζ lmb (r,x,y) * freeUnit M hζ lmb (s,z,t) = | |
| if r = s ∧ y = z then freeUnit M hζ lmb (r,x,t) else 0 := by | |
| have he : shift M x (lmb r) = shift M (x*y⁻¹) (shift M z (lmb s)) ↔ r = s ∧ y = z := by | |
| constructor | |
| · intro h | |
| have hh := (r,x) (s,x*y⁻¹*z) (show shift M x (lmb r) = shift M (x*y⁻¹*z) (lmb s) by simpa only [shift_mul] using h) | |
| have hr : r = s := congrArg Prod.fst hh | |
| have hx : x = x*y⁻¹*z := congrArg Prod.snd hh | |
| refine ⟨hr,?_⟩ | |
| have hy : 1 = y⁻¹*z := mul_left_cancel (by simpa only [mul_assoc,mul_one] using hx) | |
| exact inv_mul_eq_one.mp hy.symm | |
| · rintro ⟨rfl,rfl⟩ | |
| rw [← shift_mul] | |
| simp only [mul_assoc,inv_mul_cancel,mul_one] | |
| simp only [freeUnit,normal_mul M hζ hc,he] | |
| split_ifs with h | |
| · rcases h with ⟨rfl,rfl⟩ | |
| simp only [mul_assoc,inv_mul_cancel_left] | |
| · rfl | |
| lemma freeUnit_independent | |
| {K : Type contextUniverse1} | |
| {H : Type contextUniverse2} | |
| {R : Type contextUniverse3} | |
| [contextInstance3 : Field.{contextUniverse1} K] | |
| [contextInstance4 : Group.{contextUniverse2} H] | |
| [contextInstance5 : Fintype.{contextUniverse2} H] | |
| [Fintype.{contextUniverse3} R] | |
| (M : Nat) | |
| [contextInstance8 : .{0} Nat (.toZero.{0} Nat Nat.instMulZeroClass) M] | |
| {ζ : K} | |
| (hζ : .{contextUniverse1} K (.toCommMonoid.{contextUniverse1} K (.toCommRing.{contextUniverse1} K contextInstance3)) ζ M) | |
| (hc : .{contextUniverse1 + 1} K | |
| (.cast.{contextUniverse1} K | |
| (.toNatCast.{contextUniverse1} K | |
| (.toAddMonoidWithOne.{contextUniverse1} K | |
| (.toAddGroupWithOne.{contextUniverse1} K | |
| (.toRing.{contextUniverse1} K (.toDivisionRing.{contextUniverse1} K contextInstance3))))) | |
| (.card.{contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instFintype.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) | |
| (fun a b => Classical.propDecidable (.{contextUniverse2 + 1} H a b)) contextInstance5 fun _ => | |
| .fintype.{0} (ZMod M) (.fintype M contextInstance8)))) | |
| (.ofNat.{contextUniverse1} K (nat_lit 0) | |
| (.toOfNat0.{contextUniverse1} K | |
| (.toZero.{contextUniverse1} K | |
| (.{contextUniverse1} K | |
| (.toSemiring.{contextUniverse1} K | |
| (.toCommSemiring.{contextUniverse1} K (.toSemifield.{contextUniverse1} K contextInstance3)))))))) | |
| (lmb : R → .WreathFourier.Base.{contextUniverse2} H M) | |
| (hinj : .Injective.{max (contextUniverse2 + 1) (contextUniverse3 + 1), contextUniverse2 + 1} (Prod.{contextUniverse3, contextUniverse2} R H) | |
| (.WreathFourier.Base.{contextUniverse2} H M) fun a => | |
| .coe.{contextUniverse2 + 1, contextUniverse2 + 1, contextUniverse2 + 1} | |
| (.{contextUniverse2, contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M))))))) | |
| (.WreathFourier.Base.{contextUniverse2} H M) (fun _ => @OddKaplansky.WreathFourier.Base.{contextUniverse2} H M) | |
| (.toFunLike.{contextUniverse2 + 1, contextUniverse2 + 1, contextUniverse2 + 1} | |
| (.{contextUniverse2, contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M))))))) | |
| (.WreathFourier.Base.{contextUniverse2} H M) (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instEquivLike.{contextUniverse2, contextUniverse2} (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.WreathFourier.Base.{contextUniverse2} H M) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))) | |
| (.instMul.{contextUniverse2, 0} H (fun _ => OddKaplansky.Fourier.C M) fun _ => | |
| .mul.{0} (ZMod M) | |
| (.toAdd.{0} (ZMod M) | |
| (.{0} (ZMod M) | |
| (.toSemiring.{0} (ZMod M) (.toCommSemiring.{0} (ZMod M) (ZMod.commRing M)))))))) | |
| (.WreathFourier.shift.{contextUniverse2} H contextInstance4 M (.snd.{contextUniverse3, contextUniverse2} R H a)) | |
| (lmb (.fst.{contextUniverse3, contextUniverse2} R H a))) : LinearIndependent K (freeUnit M hζ lmb) := by | |
| let f : R × H × H → Base (H := H) M × H := fun a => (shift M a.2.1 (lmb a.1), a.2.1*a.2.2⁻¹) | |
| have hf : Function.Injective f := by | |
| rintro ⟨r,x,y⟩ ⟨s,z,t⟩ he | |
| have hrs := (r,x) (s,z) (congrArg Prod.fst he) | |
| have hr : r = s := congrArg Prod.fst hrs | |
| have hx : x = z := congrArg Prod.snd hrs | |
| subst s | |
| subst z | |
| have hy : y = t := inv_injective (mul_left_cancel (congrArg Prod.snd he)) | |
| subst t | |
| rfl | |
| exact (normal_independent M hζ hc).comp f hf | |
| lemma topElt_normal (h g : H) (μ : Base (H := H) M) : | |
| topElt M h * normal M hζ μ g = normal M hζ (shift M h μ) (h*g) := by | |
| unfold normal | |
| rw [← mul_assoc,topElt_projector,mul_assoc,topElt_mul] | |
| lemma topElt_freeUnit | |
| {K : Type contextUniverse1} | |
| {H : Type contextUniverse2} | |
| {R : Type contextUniverse3} | |
| [contextInstance3 : Field.{contextUniverse1} K] | |
| [Group.{contextUniverse2} H] | |
| [Fintype.{contextUniverse2} H] | |
| [Fintype.{contextUniverse3} R] | |
| (M : Nat) | |
| [.{0} Nat (.toZero.{0} Nat Nat.instMulZeroClass) M] | |
| {ζ : K} | |
| (hζ : .{contextUniverse1} K (.toCommMonoid.{contextUniverse1} K (.toCommRing.{contextUniverse1} K contextInstance3)) ζ M) | |
| (lmb : R → .WreathFourier.Base.{contextUniverse2} H M) (h : H) (r : R) (x y : H) : | |
| topElt M h * freeUnit M hζ lmb (r,x,y) = freeUnit M hζ lmb (r,h*x,y) := by | |
| simp only [freeUnit,topElt_normal,shift_mul,mul_assoc] | |
| lemma freeUnit_topElt | |
| {K : Type contextUniverse1} | |
| {H : Type contextUniverse2} | |
| {R : Type contextUniverse3} | |
| [contextInstance3 : Field.{contextUniverse1} K] | |
| [Group.{contextUniverse2} H] | |
| [Fintype.{contextUniverse2} H] | |
| [Fintype.{contextUniverse3} R] | |
| (M : Nat) | |
| [.{0} Nat (.toZero.{0} Nat Nat.instMulZeroClass) M] | |
| {ζ : K} | |
| (hζ : .{contextUniverse1} K (.toCommMonoid.{contextUniverse1} K (.toCommRing.{contextUniverse1} K contextInstance3)) ζ M) | |
| (lmb : R → .WreathFourier.Base.{contextUniverse2} H M) (h : H) (r : R) (x y : H) : | |
| freeUnit M hζ lmb (r,x,y) * topElt M h = freeUnit M hζ lmb (r,x,h⁻¹*y) := by | |
| simp only [freeUnit,normal,mul_assoc,topElt_mul,mul_inv_rev,inv_inv] | |
| def baseElt (a : Base (H := H) M) : MonoidAlgebra K (Wreath (H := H) M) := MonoidAlgebra.single (base M a) 1 | |
| lemma projector_baseElt (a μ : Base (H := H) M) : | |
| projector M hζ μ * baseElt M a = (Fourier.character M hζ μ a : K) • projector M hζ μ := | |
| CharacterIdempotents.pushed_mul_single _ _ _ | |
| lemma baseElt_projector (a μ : Base (H := H) M) : | |
| baseElt M a * projector M hζ μ = (Fourier.character M hζ μ a : K) • projector M hζ μ := by | |
| let f := MonoidAlgebra.mapDomainAlgHom K K (base (H := H) M) | |
| have hh := congrArg f (mul_comm (MonoidAlgebra.single a (1 : K)) (CharacterIdempotents.projector (Fourier.character M hζ μ))) | |
| have hf : f (MonoidAlgebra.single a 1) = baseElt M a := by simp [f,baseElt] | |
| rw [map_mul,map_mul,hf] at hh | |
| exact hh.trans (projector_baseElt M hζ a μ) | |
| lemma topElt_baseElt (h : H) (a : Base (H := H) M) : | |
| topElt (K := K) M h * baseElt M a = baseElt M (shift M h a) * topElt M h := by | |
| have hg := top_conjugate M h a | |
| have he := congrArg (fun g : Wreath (H := H) M => g * top M h) hg | |
| simp only [mul_assoc,inv_mul_cancel,mul_one] at he | |
| simp only [topElt,baseElt,MonoidAlgebra.single_mul_single,one_mul,he] | |
| lemma baseElt_freeUnit | |
| {K : Type contextUniverse1} | |
| {H : Type contextUniverse2} | |
| {R : Type contextUniverse3} | |
| [contextInstance3 : Field.{contextUniverse1} K] | |
| [Group.{contextUniverse2} H] | |
| [Fintype.{contextUniverse2} H] | |
| [Fintype.{contextUniverse3} R] | |
| (M : Nat) | |
| [.{0} Nat (.toZero.{0} Nat Nat.instMulZeroClass) M] | |
| {ζ : K} | |
| (hζ : .{contextUniverse1} K (.toCommMonoid.{contextUniverse1} K (.toCommRing.{contextUniverse1} K contextInstance3)) ζ M) | |
| (lmb : R → .WreathFourier.Base.{contextUniverse2} H M) (a : Base (H := H) M) (r : R) (x y : H) : | |
| baseElt M a * freeUnit M hζ lmb (r,x,y) = | |
| (Fourier.character M hζ (shift M x (lmb r)) a : K) • freeUnit M hζ lmb (r,x,y) := by | |
| simp only [freeUnit,normal,← mul_assoc,baseElt_projector,smul_mul_assoc] | |
| lemma freeUnit_baseElt | |
| {K : Type contextUniverse1} | |
| {H : Type contextUniverse2} | |
| {R : Type contextUniverse3} | |
| [contextInstance3 : Field.{contextUniverse1} K] | |
| [Group.{contextUniverse2} H] | |
| [Fintype.{contextUniverse2} H] | |
| [Fintype.{contextUniverse3} R] | |
| (M : Nat) | |
| [.{0} Nat (.toZero.{0} Nat Nat.instMulZeroClass) M] | |
| {ζ : K} | |
| (hζ : .{contextUniverse1} K (.toCommMonoid.{contextUniverse1} K (.toCommRing.{contextUniverse1} K contextInstance3)) ζ M) | |
| (lmb : R → .WreathFourier.Base.{contextUniverse2} H M) (a : Base (H := H) M) (r : R) (x y : H) : | |
| freeUnit M hζ lmb (r,x,y) * baseElt M a = | |
| (Fourier.character M hζ (shift M y (lmb r)) a : K) • freeUnit M hζ lmb (r,x,y) := by | |
| simp only [freeUnit,normal,mul_assoc,topElt_baseElt] | |
| rw [← mul_assoc,projector_baseElt] | |
| rw [character_shift_right,← shift_mul] | |
| simp only [mul_inv_rev,inv_inv,mul_assoc,inv_mul_cancel,mul_one,smul_mul_assoc] | |
| end | |
| end OddKaplansky.WreathFourier | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 17.6 kB
- Xet hash:
- 6f137cbd93c97b3c345e60faf3acafa79e82a15c38c859e259d8fc3338aa5102
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.