File size: 2,203 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | import OAI.Probability.InvariantIsing.Haar.SpecialPlaneRotation
namespace OAI
/-! Compactness and entry bounds for the actual special orthogonal group. -/
noncomputable section
open Matrix Set
open scoped BigOperators
namespace InvariantIsing
lemma specialOrthogonal_entry_bound {N : β} (U : SpecialOrthogonal N) (i j : Fin N) :
|(U : Matrix (Fin N) (Fin N) β) i j| β€ 1 := by
have hU := (Matrix.mem_orthogonalGroup_iff (Fin N) β).mp
(Matrix.mem_specialOrthogonalGroup_iff.mp U.property).1
have hrow : (β k, ((U : Matrix (Fin N) (Fin N) β) i k)^2) = 1 := by
simpa only [Matrix.mul_apply,Matrix.transpose_apply,Matrix.one_apply_eq,pow_two]
using congrFun (congrFun hU i) i
have hs : ((U : Matrix (Fin N) (Fin N) β) i j)^2 β€ 1 := by
rw [β hrow]
exact Finset.single_le_sum (fun k _ => sq_nonneg _) (Finset.mem_univ j)
exact (sq_le_one_iff_abs_le_one _).mp hs
lemma isClosed_specialOrthogonal (N : β) :
IsClosed (Matrix.specialOrthogonalGroup (Fin N) β : Set (Matrix (Fin N) (Fin N) β)) := by
have he : (Matrix.specialOrthogonalGroup (Fin N) β : Set (Matrix (Fin N) (Fin N) β)) =
{A | A*A.transpose=1} β© {A | A.det=1} := by
ext A
simp only [Set.mem_inter_iff,Set.mem_ofPred_eq,SetLike.mem_coe,
Matrix.mem_specialOrthogonalGroup_iff,Matrix.mem_orthogonalGroup_iff]
rw [he]
apply IsClosed.inter
Β· apply isClosed_eq <;> fun_prop
Β· apply isClosed_eq <;> fun_prop
lemma isCompact_specialOrthogonal (N : β) :
IsCompact (Matrix.specialOrthogonalGroup (Fin N) β : Set (Matrix (Fin N) (Fin N) β)) := by
have hb : IsCompact (Set.pi Set.univ fun _ : Fin N =>
Set.pi Set.univ fun _ : Fin N => Set.Icc (-1 : β) 1) :=
isCompact_univ_pi fun _ => isCompact_univ_pi fun _ => isCompact_Icc
apply hb.of_isClosed_subset (isClosed_specialOrthogonal N)
intro A hA
simp only [Set.mem_pi,Set.mem_univ,forall_true_left,Set.mem_Icc]
intro i j
exact abs_le.mp (specialOrthogonal_entry_bound β¨A,hAβ© i j)
instance specialOrthogonal_compactSpace (N : β) : CompactSpace (SpecialOrthogonal N) :=
isCompact_iff_compactSpace.mp (isCompact_specialOrthogonal N)
end InvariantIsing
end
end OAI
|