@[simp]lemmarightWord_join {n a b d : ℕ} (e : Fin n ≃ Fin a ⊕ Fin b)
(x : Fin a →Fin d) (y : Fin b →Fin d) : rightWord e (joinPositions e x y) = y :=by
defpositionUncurry {n a b d : ℕ} (e : Fin n ≃ Fin a ⊕ Fin b) :
((Fin b →Fin d) →WordSpace a d) ≃ₗ[ℂ] WordSpace n d where
body · 6
lines
toFun f w := f (rightWord e w) (leftWord e w)
invFun z y x := z (joinPositions e x y)
left_inv f :=by ext y x; simp
right_inv z :=by ext w; simp
map_add' _ _ := rfl
map_smul' _ _ := rfl
@[simp]lemmapositionTensor_tmul {n a b d : ℕ} (e : Fin n ≃ Fin a ⊕ Fin b)
(x : WordSpace a d) (y : WordSpace b d) :
positionTensor e (x ⊗ₜ[ℂ] y) = positionProduct e x y :=by
proof · 3
lines
funext w
change y (rightWord e w) * x (leftWord e w) = _
exact mul_comm _ _
lemmapositionProduct_equivariant {n a b d : ℕ} (e : Fin n ≃ Fin a ⊕ Fin b)
(g : Equiv.Perm (Fin a)) (h : Equiv.Perm (Fin b))
(x : WordSpace a d) (y : WordSpace b d) :
wordRep n d (sumPerm e g h) (positionProduct e x y) =
positionProduct e (wordRep a d g x) (wordRep b d h y) :=by
proof · 10
lines
funext w
change x (leftWord e (w ∘ sumPerm e g h)) * y (rightWord e (w ∘ sumPerm e g h)) = _
havehl : leftWord e (w ∘ sumPerm e g h) = leftWord e w ∘ g :=by
funext i
simp [leftWord]
havehr : rightWord e (w ∘ sumPerm e g h) = rightWord e w ∘ h :=by
funext i
simp [rightWord]
rw [hl,hr]
rfl
lemmapositionTensor_equivariant {n a b d : ℕ} (e : Fin n ≃ Fin a ⊕ Fin b)
(g : Equiv.Perm (Fin a)) (h : Equiv.Perm (Fin b))
(z : WordSpace a d ⊗[ℂ] WordSpace b d) :
positionTensor e (TensorProduct.map (wordRep a d g) (wordRep b d h) z) =
wordRep n d (sumPerm e g h) (positionTensor e z) :=by
proof · 3
lines
induction z usingTensorProduct.inductionOn with
| add x y hx hy => simp only [map_add,hx,hy]
| tmul x y => rw [TensorProduct.map_tmul, positionTensor_tmul, positionTensor_tmul, positionProduct_equivariant]
lemmaproduct_mem_cyclic {n a b d : ℕ} (e : Fin n ≃ Fin a ⊕ Fin b)
(v : WordSpace a d) (u : WordSpace b d)
(x : WordSpace a d) (y : WordSpace b d)
(hx : x ∈ cyclic (wordRep a d) v) (hy : y ∈ cyclic (wordRep b d) u) :
positionProduct e x y ∈ cyclic (wordRep n d) (positionProduct e v u) :=by
proof · 40
lines
letS:= cyclic (wordRep n d) (positionProduct e v u)
change x ∈Submodule.span ℂ _ at hx
change y ∈Submodule.span ℂ _ at hy
induction hx usingSubmodule.span_induction with
| mem x hx =>
obtain ⟨g,rfl⟩ := hx
induction hy usingSubmodule.span_induction with
| mem y hy =>
obtain ⟨h,rfl⟩ := hy
rw [← positionProduct_equivariant]
exact S.apply_mem_toSubmodule (sumPerm e g h) (mem_cyclic _ _)
| zero =>havehz : positionProduct e (wordRep a d g v) 0 = 0:=by ext; simp [positionProduct]
rw [hz]
exact S.toSubmodule.zero_mem
| add y z hy hz ihy ihz =>havehe : positionProduct e (wordRep a d g v) (y+z) =
positionProduct e (wordRep a d g v) y + positionProduct e (wordRep a d g v) z :=by
ext; simp [positionProduct,mul_add]
rw [he]
exact S.toSubmodule.add_mem ihy ihz
| smul c y hy ih =>havehe : positionProduct e (wordRep a d g v) (c • y) =
c • positionProduct e (wordRep a d g v) y :=by ext; simp [positionProduct,mul_left_comm]
rw [he]
exact S.toSubmodule.smul_mem c ih
| zero =>havehz : positionProduct e 0 y = 0:=by ext; simp [positionProduct]
rw [hz]
exact S.toSubmodule.zero_mem
| add x z hx hz ihx ihz =>havehe : positionProduct e (x+z) y = positionProduct e x y + positionProduct e z y :=by
ext; simp [positionProduct,add_mul]
rw [he]
exact S.toSubmodule.add_mem ihx ihz
| smul c x hx ih =>havehe : positionProduct e (c • x) y = c • positionProduct e x y :=by
ext; simp [positionProduct,mul_assoc]
rw [he]
exact S.toSubmodule.smul_mem c ih