Buckets:
| import OAI.Probability.SignedSweeps.SupportInverse | |
| namespace OAI | |
| noncomputable section | |
| namespace SignedSweeps | |
| open scoped BigOperators TensorProduct | |
| open Module | |
| open scoped BigOperators | |
| open scoped BigOperators ComplexOrder Classical | |
| open scoped BigOperators TensorProduct ComplexOrder Classical | |
| open scoped BigOperators Classical | |
| def columnStatistic {n : ℕ} (lam : Partition n) : ℕ := | |
| ∑ x : Fin n, lam.colOf x | |
| lemma row_column_transversal_statistic {n : ℕ} (lam mu : Partition n) | |
| (g : SymmetricGroup n) | |
| (ht : ∀ x y, mu.rowOf x = mu.rowOf y → lam.colOf (g x) = lam.colOf (g y) → x = y) : | |
| columnStatistic mu ≤ columnStatistic lam := by | |
| unfold columnStatistic | |
| rw [← Equiv.sum_comp g lam.colOf, | |
| ← Equiv.sum_comp mu.rowEquiv (fun y => lam.colOf (g y)), | |
| ← Equiv.sum_comp mu.rowEquiv mu.colOf, Fintype.sum_sigma, Fintype.sum_sigma] | |
| simp only [Partition.colOf_rowEquiv] | |
| apply Finset.sum_le_sum | |
| intro i _ | |
| apply fin_injective_sum_lower | |
| intro j k h | |
| have he := ht (mu.rowEquiv ⟨i, j⟩) (mu.rowEquiv ⟨i, k⟩) (by simp) h | |
| exact Sigma.mk.inj_iff.mp (mu.rowEquiv.injective he) |>.2 |> eq_of_heq | |
| lemma row_column_transversal_bound_of_statistic_eq {n : ℕ} (lam mu : Partition n) | |
| (g : SymmetricGroup n) | |
| (ht : ∀ x y, mu.rowOf x = mu.rowOf y → lam.colOf (g x) = lam.colOf (g y) → x = y) | |
| (hstat : columnStatistic lam = columnStatistic mu) (x : Fin n) : | |
| lam.colOf (g x) < mu.1.rowLen (mu.rowOf x) := by | |
| let f := fun i : Fin (mu.1.colLen 0) => fun j : Fin (mu.1.rowLen i) => | |
| lam.colOf (g (mu.rowEquiv ⟨i, j⟩)) | |
| have hf (i : Fin (mu.1.colLen 0)) : Function.Injective (f i) := by | |
| intro j k h | |
| have he := ht (mu.rowEquiv ⟨i, j⟩) (mu.rowEquiv ⟨i, k⟩) (by simp) h | |
| exact Sigma.mk.inj_iff.mp (mu.rowEquiv.injective he) |>.2 |> eq_of_heq | |
| have hsum : ∑ i, ∑ j, f i j = ∑ i : Fin (mu.1.colLen 0), ∑ j : Fin (mu.1.rowLen i), j.val := by | |
| unfold columnStatistic at hstat | |
| rw [← Equiv.sum_comp g lam.colOf, | |
| ← Equiv.sum_comp mu.rowEquiv (fun y => lam.colOf (g y)), | |
| ← Equiv.sum_comp mu.rowEquiv mu.colOf, Fintype.sum_sigma, Fintype.sum_sigma] at hstat | |
| simpa only [Partition.colOf_rowEquiv] using hstat | |
| have hrow (i : Fin (mu.1.colLen 0)) : ∑ j, f i j = ∑ j : Fin (mu.1.rowLen i), j.val := by | |
| have h := Finset.sum_eq_sum_iff_of_le (fun i (_ : i ∈ (Finset.univ : Finset (Fin (mu.1.colLen 0)))) => | |
| fin_injective_sum_lower (f i) (hf i)) | |
| exact (h.mp hsum.symm i (Finset.mem_univ _)).symm | |
| let ix := mu.rowEquiv.symm x | |
| have hh := fin_injective_minimal_sum (f ix.1) (hf ix.1) (hrow ix.1) ix.2 | |
| change lam.colOf (g (mu.rowEquiv ix)) < _ at hh | |
| rw [Equiv.apply_symm_apply] at hh | |
| exact hh | |
| def columnPositionsEquiv {n : ℕ} (lam : Partition n) (j : ℕ) : | |
| Fin (lam.1.colLen j) ≃ {x : Fin n // lam.colOf x = j} where | |
| toFun i := ⟨lam.tableau ⟨(i.val, j), YoungDiagram.mem_iff_lt_colLen.mpr i.isLt⟩, | |
| by simp [Partition.colOf]⟩ | |
| invFun x := ⟨lam.rowOf x.1, by | |
| have h := YoungDiagram.mem_iff_lt_colLen.mp (lam.tableau.symm x.1).property | |
| change lam.rowOf x.1 < lam.1.colLen (lam.colOf x.1) at h | |
| simpa only [x.2] using h⟩ | |
| left_inv i := by ext; simp [Partition.rowOf] | |
| right_inv x := by | |
| apply Subtype.ext | |
| apply lam.tableau.symm.injective | |
| simp only [Equiv.symm_apply_apply] | |
| apply Subtype.ext | |
| exact Prod.ext rfl x.2.symm | |
| lemma colOf_fiber_card {n : ℕ} (lam : Partition n) (j : ℕ) : | |
| Fintype.card {x : Fin n // lam.colOf x = j} = lam.1.colLen j := by | |
| simpa using (Fintype.card_congr (columnPositionsEquiv lam j)).symm | |
| lemma row_column_transversal_eq_of_statistic_eq {n : ℕ} (lam mu : Partition n) | |
| (g : SymmetricGroup n) | |
| (ht : ∀ x y, mu.rowOf x = mu.rowOf y → lam.colOf (g x) = lam.colOf (g y) → x = y) | |
| (hstat : columnStatistic lam = columnStatistic mu) : lam = mu := by | |
| let r : Fin n → Fin n := fun x => mu.tableau | |
| ⟨(mu.rowOf x, lam.colOf (g x)), YoungDiagram.mem_iff_lt_rowLen.mpr | |
| (row_column_transversal_bound_of_statistic_eq lam mu g ht hstat x)⟩ | |
| have hr (x : Fin n) : mu.rowOf (r x) = mu.rowOf x := by simp [r, Partition.rowOf] | |
| have hc (x : Fin n) : mu.colOf (r x) = lam.colOf (g x) := by simp [r, Partition.colOf] | |
| have hi : Function.Injective r := by | |
| intro x y h | |
| apply ht x y | |
| · simpa only [hr] using congrArg mu.rowOf h | |
| · simpa only [hc] using congrArg mu.colOf h | |
| let a : SymmetricGroup n := Equiv.ofBijective r (⟨hi, Finite.surjective_of_injective hi⟩) | |
| let e : SymmetricGroup n := g.symm.trans a | |
| have he (x : Fin n) : mu.colOf (e x) = lam.colOf x := by | |
| change mu.colOf (r (g⁻¹ x)) = lam.colOf x | |
| rw [hc] | |
| exact congrArg lam.colOf (g.apply_symm_apply x) | |
| have hcol (j : ℕ) : lam.1.colLen j = mu.1.colLen j := by | |
| rw [← colOf_fiber_card lam j, ← colOf_fiber_card mu j] | |
| exact Fintype.card_congr (Equiv.subtypeEquiv e (by intro x; rw [he])) | |
| apply Subtype.ext | |
| ext ⟨i, j⟩ | |
| simp only [YoungDiagram.mem_cells, YoungDiagram.mem_iff_lt_colLen, hcol] | |
| lemma specht_hom_generator_ne_zero {n : ℕ} (lam mu : Partition n) | |
| (f : Representation.IntertwiningMap (spechtRepresentation lam) (spechtRepresentation mu)) | |
| (hf : f ≠ 0) : f (spechtGenerator lam) ≠ 0 := by | |
| intro h | |
| apply hf | |
| apply specht_hom_ext lam _ | |
| simpa using h | |
| lemma specht_hom_transversal {n : ℕ} (lam mu : Partition n) | |
| (f : Representation.IntertwiningMap (spechtRepresentation lam) (spechtRepresentation mu)) | |
| (hf : f ≠ 0) : | |
| ∃ g : SymmetricGroup n, ∀ x y, mu.rowOf x = mu.rowOf y → | |
| lam.colOf (g x) = lam.colOf (g y) → x = y := by | |
| let v : RegularSpace n := spechtInclusion mu (f (spechtGenerator lam)) | |
| have hv : v ≠ 0 := by | |
| intro h | |
| apply specht_hom_generator_ne_zero lam mu f hf | |
| exact Subtype.ext h | |
| obtain ⟨g, hg⟩ : ∃ g, v g ≠ 0 := by | |
| by_contra h | |
| push Not at h | |
| apply hv | |
| ext g | |
| exact h g | |
| have hvcol (c : colSubgroup lam) (g : SymmetricGroup n) : | |
| v (c.1 * g) = complexSign n c.1 * v g := by | |
| have he := Representation.IntertwiningMap.isIntertwining _ _ f (c⁻¹).1 (spechtGenerator lam) | |
| rw [spechtGenerator_column_action, map_smul] at he | |
| have hh := congrArg (fun w => (spechtInclusion mu w) g) he | |
| change complexSign n (c⁻¹).1 * v g = v ((c⁻¹).1⁻¹ * g) at hh | |
| simpa only [Subgroup.coe_inv, inv_inv, complexSign_inv] using hh.symm | |
| refine ⟨g, ?_⟩ | |
| intro x y hr hc | |
| by_contra hxy | |
| let a : rowSubgroup mu := ⟨Equiv.swap x y, swap_mem_fiberSubgroup _ hr⟩ | |
| let c : colSubgroup lam := ⟨Equiv.swap (g x) (g y), swap_mem_fiberSubgroup _ hc⟩ | |
| have he : c.1 * g = g * a.1 := by | |
| apply Equiv.ext | |
| intro z | |
| exact g.injective.swap_apply x y z | |
| have hs : complexSign n c.1 = -1 := by | |
| simp [c, complexSign, Equiv.Perm.sign_swap (g.injective.ne hxy)] | |
| have hh := hvcol c g | |
| rw [he, specht_right_row mu (f (spechtGenerator lam)), hs, neg_one_mul] at hh | |
| apply hg | |
| linear_combination hh / 2 | |
| lemma specht_hom_columnStatistic {n : ℕ} (lam mu : Partition n) | |
| (f : Representation.IntertwiningMap (spechtRepresentation lam) (spechtRepresentation mu)) | |
| (hf : f ≠ 0) : columnStatistic mu ≤ columnStatistic lam := by | |
| obtain ⟨g, hg⟩ := specht_hom_transversal lam mu f hf | |
| exact row_column_transversal_statistic lam mu g hg | |
| lemma specht_equiv_shape_eq {n : ℕ} (lam mu : Partition n) | |
| (f : Representation.Equiv (spechtRepresentation lam) (spechtRepresentation mu)) : | |
| lam = mu := by | |
| have hf : f.toIntertwiningMap ≠ 0 := by | |
| intro h | |
| have hh := congrArg (fun k : Representation.IntertwiningMap | |
| (spechtRepresentation lam) (spechtRepresentation mu) => k (spechtGenerator lam)) h | |
| apply spechtGenerator_ne_zero lam | |
| exact f.toLinearEquiv.injective (by simpa using hh) | |
| have hi : f.symm.toIntertwiningMap ≠ 0 := by | |
| intro h | |
| have hh := congrArg (fun k : Representation.IntertwiningMap | |
| (spechtRepresentation mu) (spechtRepresentation lam) => k (spechtGenerator mu)) h | |
| apply spechtGenerator_ne_zero mu | |
| exact f.symm.toLinearEquiv.injective (by simpa using hh) | |
| have hs := le_antisymm (specht_hom_columnStatistic _ _ f.symm.toIntertwiningMap hi) | |
| (specht_hom_columnStatistic _ _ f.toIntertwiningMap hf) | |
| obtain ⟨g, hg⟩ := specht_hom_transversal lam mu f.toIntertwiningMap hf | |
| exact row_column_transversal_eq_of_statistic_eq lam mu g hg hs | |
| theorem specht_hom_nonzero_shape_eq {n : ℕ} (lam mu : Partition n) | |
| (f : Representation.IntertwiningMap (spechtRepresentation lam) (spechtRepresentation mu)) | |
| (hf : f ≠ 0) : lam = mu := by | |
| let := specht_irreducible lam | |
| let := specht_irreducible mu | |
| exact specht_equiv_shape_eq _ _ (f.ofBijective | |
| ((Representation.IsIrreducible.bijective_or_eq_zero f).resolve_right hf)) | |
| lemma specht_hom_eq_zero_of_ne {n : ℕ} (lam mu : Partition n) (h : lam ≠ mu) | |
| (f : Representation.IntertwiningMap (spechtRepresentation lam) (spechtRepresentation mu)) : | |
| f = 0 := by | |
| by_contra hf | |
| exact h (specht_hom_nonzero_shape_eq lam mu f hf) | |
| def natPartitionOfDiagram {n : ℕ} (lam : Partition n) : Nat.Partition n where | |
| parts := lam.1.rowLens | |
| parts_pos := by | |
| intro i hi | |
| exact lam.1.pos_of_mem_rowLens i hi | |
| parts_sum := partition_rowLens_sum lam | |
| def diagramOfNatPartition {n : ℕ} (p : Nat.Partition n) : Partition n := | |
| ⟨YoungDiagram.ofRowLens (p.parts.sort (· ≥ ·)) | |
| (p.parts.pairwise_sort (· ≥ ·)).sortedGE, by | |
| rw [← diagram_rowLens_sum, YoungDiagram.rowLens_ofRowLens_eq_self] | |
| · simpa only [← Multiset.sum_coe, Multiset.sort_eq] using p.parts_sum | |
| · intro a ha | |
| exact p.parts_pos ((Multiset.mem_sort (· ≥ ·)).mp ha)⟩ | |
| @[simp] | |
| lemma natPartitionOfDiagram_diagramOfNatPartition {n : ℕ} (p : Nat.Partition n) : | |
| natPartitionOfDiagram (diagramOfNatPartition p) = p := by | |
| apply Nat.Partition.ext | |
| dsimp [natPartitionOfDiagram, diagramOfNatPartition] | |
| rw [YoungDiagram.rowLens_ofRowLens_eq_self] | |
| · exact Multiset.sort_eq _ _ | |
| · intro a ha | |
| exact p.parts_pos ((Multiset.mem_sort (· ≥ ·)).mp ha) | |
| @[simp] | |
| lemma diagramOfNatPartition_natPartitionOfDiagram {n : ℕ} (lam : Partition n) : | |
| diagramOfNatPartition (natPartitionOfDiagram lam) = lam := by | |
| apply Subtype.ext | |
| change YoungDiagram.ofRowLens ((↑lam.1.rowLens : Multiset ℕ).sort (· ≥ ·)) | |
| ((↑lam.1.rowLens : Multiset ℕ).pairwise_sort (· ≥ ·)).sortedGE = lam.1 | |
| have hs : (↑lam.1.rowLens : Multiset ℕ).sort (· ≥ ·) = lam.1.rowLens := by | |
| rw [Multiset.coe_sort] | |
| exact List.mergeSort_eq_self _ lam.1.rowLens_sorted.pairwise | |
| simpa only [hs] using (YoungDiagram.ofRowLens_to_rowLens_eq_self (μ := lam.1)) | |
| def partitionEquivNatPartition (n : ℕ) : Partition n ≃ Nat.Partition n where | |
| toFun := natPartitionOfDiagram | |
| invFun := diagramOfNatPartition | |
| left_inv := diagramOfNatPartition_natPartitionOfDiagram | |
| right_inv := natPartitionOfDiagram_diagramOfNatPartition | |
| def conjugacyDiagram (n : ℕ) : ConjClasses (SymmetricGroup n) → Partition n := | |
| Quotient.lift (fun g : SymmetricGroup n => | |
| diagramOfNatPartition (show Nat.Partition n from Fintype.card_fin n ▸ g.partition)) (by | |
| intro g h hgh | |
| have he := Equiv.Perm.partition_eq_of_isConj.mp hgh | |
| apply congrArg diagramOfNatPartition | |
| exact congrArg (fun p : Nat.Partition (Fintype.card (Fin n)) => | |
| show Nat.Partition n from Fintype.card_fin n ▸ p) he) | |
| lemma conjugacyDiagram_injective (n : ℕ) : Function.Injective (conjugacyDiagram n) := by | |
| intro x y | |
| induction x using Quotient.inductionOn with | |
| | h g => | |
| induction y using Quotient.inductionOn with | |
| | h h => | |
| intro he | |
| apply Quotient.sound | |
| apply Equiv.Perm.partition_eq_of_isConj.mpr | |
| have hh := congrArg natPartitionOfDiagram he | |
| simp only [conjugacyDiagram, Quotient.lift_mk, | |
| natPartitionOfDiagram_diagramOfNatPartition] at hh | |
| simpa using hh | |
| def quotientCharacter {G E : Type*} [Group G] [AddCommGroup E] [Module ℂ E] | |
| [FiniteDimensional ℂ E] (ρ : Representation ℂ G E) : ConjClasses G → ℂ := | |
| Quotient.lift ρ.character (by | |
| intro g h hgh | |
| obtain ⟨k, rfl⟩ := isConj_iff.mp hgh | |
| exact (ρ.char_conj g k).symm) | |
| @[simp] | |
| lemma quotientCharacter_mk {G E : Type*} [Group G] [AddCommGroup E] [Module ℂ E] | |
| [FiniteDimensional ℂ E] (ρ : Representation ℂ G E) (g : G) : | |
| quotientCharacter ρ (ConjClasses.mk g) = ρ.character g := rfl | |
| def classCharacterPairing {G E : Type*} [Group G] [Fintype G] | |
| [AddCommGroup E] [Module ℂ E] [FiniteDimensional ℂ E] | |
| (ρ : Representation ℂ G E) : (ConjClasses G → ℂ) →ₗ[ℂ] ℂ where | |
| toFun f := (Nat.card G : ℂ)⁻¹ * ∑ g : G, f (ConjClasses.mk g) * ρ.character g⁻¹ | |
| map_add' f g := by simp [Finset.sum_add_distrib, add_mul, mul_add] | |
| map_smul' c f := by simp [Finset.mul_sum, mul_assoc, mul_left_comm] | |
| lemma specht_classCharacterPairing {n : ℕ} (lam mu : Partition n) : | |
| classCharacterPairing (spechtRepresentation lam) | |
| (quotientCharacter (spechtRepresentation mu)) = if lam = mu then 1 else 0 := by | |
| let := specht_irreducible lam | |
| let := specht_irreducible mu | |
| let : Invertible (Nat.card (SymmetricGroup n) : ℂ) := invertibleOfNonzero (by | |
| exact_mod_cast (Nat.card_pos (α := SymmetricGroup n)).ne') | |
| change (Nat.card (SymmetricGroup n) : ℂ)⁻¹ * ∑ g, | |
| (spechtRepresentation mu).character g * (spechtRepresentation lam).character g⁻¹ = _ | |
| rw [Representation.char_orthonormal] | |
| congr 1 | |
| apply propext | |
| constructor | |
| · rintro ⟨e⟩ | |
| exact specht_equiv_shape_eq lam mu e | |
| · rintro rfl | |
| exact ⟨Representation.Equiv.refl _⟩ | |
| lemma specht_characters_linearIndependent (n : ℕ) : | |
| LinearIndependent ℂ (fun lam : Partition n => quotientCharacter (spechtRepresentation lam)) := by | |
| rw [linearIndependent_iff'] | |
| intro s c hc lam hlam | |
| have h := congrArg (classCharacterPairing (spechtRepresentation lam)) hc | |
| simpa only [map_sum, map_smul, map_zero, specht_classCharacterPairing, | |
| smul_eq_mul, mul_ite, mul_one, mul_zero, Finset.sum_ite_eq, ite_eq_left hlam] using h | |
| lemma specht_characters_span (n : ℕ) : | |
| Submodule.span ℂ (Set.range (fun lam : Partition n => | |
| quotientCharacter (spechtRepresentation lam))) = ⊤ := by | |
| let := Fintype.ofFinite (Partition n) | |
| let := Fintype.ofFinite (ConjClasses (SymmetricGroup n)) | |
| let : Nonempty (Partition n) := ⟨conjugacyDiagram n 1⟩ | |
| have hle : Module.finrank ℂ (ConjClasses (SymmetricGroup n) → ℂ) ≤ | |
| Fintype.card (Partition n) := by | |
| rw [Module.finrank_pi] | |
| exact Fintype.card_le_of_injective _ (conjugacyDiagram_injective n) | |
| exact (specht_characters_linearIndependent n).span_eq_top_of_card_eq_finrank | |
| (le_antisymm (specht_characters_linearIndependent n).fintype_card_le_finrank hle) | |
| theorem irreducible_equiv_specht {n : ℕ} {E : Type*} | |
| [AddCommGroup E] [Module ℂ E] [FiniteDimensional ℂ E] | |
| (ρ : Representation ℂ (SymmetricGroup n) E) [ρ.IsIrreducible] : | |
| ∃ lam : Partition n, Nonempty (Representation.Equiv (spechtRepresentation lam) ρ) := by | |
| let : Invertible (Nat.card (SymmetricGroup n) : ℂ) := invertibleOfNonzero (by | |
| exact_mod_cast (Nat.card_pos (α := SymmetricGroup n)).ne') | |
| by_contra hn | |
| push Not at hn | |
| have hz (lam : Partition n) : classCharacterPairing ρ | |
| (quotientCharacter (spechtRepresentation lam)) = 0 := by | |
| let := specht_irreducible lam | |
| change (Nat.card (SymmetricGroup n) : ℂ)⁻¹ * ∑ g, | |
| (spechtRepresentation lam).character g * ρ.character g⁻¹ = 0 | |
| rw [Representation.char_orthonormal, ite_eq_right] | |
| rintro ⟨e⟩ | |
| exact (hn lam).false e.symm | |
| have hspan : Submodule.span ℂ (Set.range (fun lam : Partition n => | |
| quotientCharacter (spechtRepresentation lam))) ≤ (classCharacterPairing ρ).ker := by | |
| rw [Submodule.span_le] | |
| rintro _ ⟨lam, rfl⟩ | |
| exact hz lam | |
| rw [specht_characters_span] at hspan | |
| have he : classCharacterPairing ρ (quotientCharacter ρ) = 0 := | |
| hspan (Submodule.mem_top) | |
| change (Nat.card (SymmetricGroup n) : ℂ)⁻¹ * ∑ g, | |
| ρ.character g * ρ.character g⁻¹ = 0 at he | |
| rw [Representation.char_orthonormal, ite_eq_left ⟨Representation.Equiv.refl _⟩] at he | |
| exact one_ne_zero he | |
| end SignedSweeps | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 16.3 kB
- Xet hash:
- ca3cbfbe5b927407b85846b49240753105adef20e4a6e612ada378905a04b3aa
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.