cfahlgren1's picture
download
raw
4.16 kB
import Mathlib.RingTheory.RootsOfUnity.Complex
import OAI.Analysis.Laughlin.Spin.Mixing
namespace OAI
namespace Laughlin.Rotation
open scoped BigOperators Matrix
noncomputable def spinSeparatingRoot (Q : ℕ) : ℂ := Complex.exp (2*Real.pi*Complex.I/(2*Q+1 : ℕ))
theorem spinSeparatingRoot_primitive (Q : ℕ) : IsPrimitiveRoot (spinSeparatingRoot Q) (2*Q+1) :=
Complex.isPrimitiveRoot_exp _ (by omega)
theorem spinSeparatingRoot_norm (Q : ℕ) : ‖spinSeparatingRoot Q‖=1 := by
simp [spinSeparatingRoot,Complex.norm_exp,Complex.div_re]
theorem torus_weight_fraction (Q : ℕ) (z : ℂ) (hz : ‖z‖=1) (p : Fin (Q+1)) :
(star z)^p.val*z^(Q-p.val) = z^Q/z^(2*p.val) := by
have hz0 : z ≠ 0 := by intro h; simp [h] at hz
have hinv : star z=z⁻¹ := by
simp [Complex.inv_def,Complex.normSq_eq_norm_sq,hz]
rw [hinv,inv_pow]
have hQ : Q=(Q-p.val)+p.val := by omega
have hp : z^Q=z^(Q-p.val)*z^p.val := by rw [← pow_add,← hQ]
rw [hp,show 2*p.val=p.val+p.val by omega,pow_add]
field_simp
theorem spinSeparatingRoot_weights_injective (Q : ℕ) : Function.Injective
(fun p : Fin (Q+1) => (star (spinSeparatingRoot Q))^p.val*(spinSeparatingRoot Q)^(Q-p.val)) := by
intro p q hpq
dsimp only at hpq
let z := spinSeparatingRoot Q
have hz := spinSeparatingRoot_norm Q
have hz0 : z ≠ 0 := Complex.exp_ne_zero _
rw [torus_weight_fraction Q _ hz p,torus_weight_fraction Q _ hz q] at hpq
have he := (div_eq_div_iff (pow_ne_zero (2*p.val) hz0) (pow_ne_zero (2*q.val) hz0)).mp hpq
have hpows : z^(2*p.val)=z^(2*q.val) := (mul_left_cancel₀ (pow_ne_zero Q hz0) he).symm
have h := (spinSeparatingRoot_primitive Q).pow_inj (by omega : 2*p.val < 2*Q+1)
(by omega : 2*q.val < 2*Q+1) hpows
exact Fin.ext (by omega)
theorem source_spin_commutant_scalar (Q : ℕ) (M : Matrix (Fin (Q+1)) (Fin (Q+1)) ℂ)
(hM : ∀ g : SourceSU2, sourceSpinRepresentation Q g*M=M*sourceSpinRepresentation Q g) :
M=M 0 0 • (1 : Matrix (Fin (Q+1)) (Fin (Q+1)) ℂ) := by
have ht := hM (sourceTorus (spinSeparatingRoot Q) (spinSeparatingRoot_norm Q))
rw [sourceSpinRepresentation_torus] at ht
have hd : M=Matrix.diagonal (fun p => M p p) := by
ext p q
by_cases hpq : p=q
· subst q; simp
· rw [Matrix.diagonal_apply_ne _ hpq]
have he := congrFun (congrFun ht p) q
simp only [Matrix.diagonal_mul,Matrix.mul_diagonal] at he
have hn := (spinSeparatingRoot_weights_injective Q).ne hpq
exact (mul_eq_zero.mp (show
((star (spinSeparatingRoot Q))^p.val*(spinSeparatingRoot Q)^(Q-p.val)-
(star (spinSeparatingRoot Q))^q.val*(spinSeparatingRoot Q)^(Q-q.val))*M p q=0 by
linear_combination he)).resolve_left (sub_ne_zero.mpr hn)
have hm := hM sourceMixer
rw [hd] at hm
have hc (p : Fin (Q+1)) : M p p=M 0 0 := by
have he := congrFun (congrFun hm p) 0
simp only [Matrix.mul_diagonal,Matrix.diagonal_mul] at he
apply (mul_left_cancel₀ (sourceSpinRepresentation_mixer_column_ne_zero Q p))
calc
_ = M p p*sourceSpinRepresentation Q sourceMixer p 0 := by ring
_ = _ := he.symm
rw [hd]
ext p q
by_cases hpq : p=q
· subst q; simp [hc]
· simp [hpq]
theorem source_spin_haar_schur (Q : ℕ) (M : Matrix (Fin (Q+1)) (Fin (Q+1)) ℂ) :
matrixIntegral sourceHaar (conjugateOrbit (sourceSpinRepresentation Q) M) =
(Matrix.trace M / (Q+1 : ℕ)) • (1 : Matrix (Fin (Q+1)) (Fin (Q+1)) ℂ) := by
let H := matrixIntegral sourceHaar (conjugateOrbit (sourceSpinRepresentation Q) M)
have hc := source_spin_commutant_scalar Q H (source_spin_haar_average_commutes Q M)
have ht := compact_haar_average_trace sourceHaar (sourceSpinRepresentation Q)
(sourceSpinRepresentation_continuous Q) M
have he := congrArg Matrix.trace hc
simp only [Matrix.trace_smul,Matrix.trace_one,Fintype.card_fin,smul_eq_mul] at he
have hdim : ((Q+1 : ℕ) : ℂ) ≠ 0 := by exact_mod_cast Nat.succ_ne_zero Q
have hs : Matrix.trace M / ((Q+1 : ℕ) : ℂ) = H 0 0 := by
rw [← ht]
change Matrix.trace H / ((Q+1 : ℕ) : ℂ)=H 0 0
rw [he]
field_simp
rw [hs]
exact hc
end Laughlin.Rotation
end OAI

Xet Storage Details

Size:
4.16 kB
·
Xet hash:
baad15742450684ab2b52b69e26ec2f21038d2e47b0bbc033ba8e771892c9e28

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.