cfahlgren1's picture
download
raw
2.07 kB
import OAI.Probability.InvariantIsing.Cavity.CavityFrameOrbit
namespace OAI
/-! Complete the limiting cavity columns by a fixed orthonormal special
frame. This is the reference frame for the continuous complement rule. -/
noncomputable section
open scoped RealInnerProductSpace Matrix
namespace InvariantIsing
theorem cavity_frame_completion {d n : ℕ}
(E : Matrix (Fin (d + n)) (Fin n) ℝ) (hE : E.transpose * E = 1) :
∃ B : Matrix (Fin (d + n)) (Fin d) ℝ,
B.transpose * B = 1 ∧ E.transpose * B = 0 := by
let e := EuclideanSpace.basisFun (Fin (d + n)) ℝ
have hr : Orthonormal ℝ (fun j : Fin n => e (Fin.natAdd d j)) :=
e.orthonormal.comp _ (fun _ _ h => Fin.ext (by simpa using congrArg Fin.val h))
obtain ⟨U, hU⟩ := cavity_orthonormal_transitive
(fun j : Fin n => e (Fin.natAdd d j))
(fun j : Fin n => WithLp.toLp 2 (fun i => E i j)) hr (cavity_orthonormal_of_gram E hE)
let B : Matrix (Fin (d + n)) (Fin d) ℝ := fun i j => U (e (Fin.castAdd n j)) i
refine ⟨B, ?_, ?_⟩
· ext i j
change (∑ k, U (e (Fin.castAdd n i)) k * U (e (Fin.castAdd n j)) k) =
if i = j then 1 else 0
have hh := U.inner_map_map (e (Fin.castAdd n i)) (e (Fin.castAdd n j))
have he := orthonormal_iff_ite.mp e.orthonormal (Fin.castAdd n i) (Fin.castAdd n j)
simpa only [EuclideanSpace.inner_eq_star_dotProduct, dotProduct, star_trivial,
Fin.castAdd_inj, mul_comm] using hh.trans he
· ext i j
change (∑ k, E k i * U (e (Fin.castAdd n j)) k) = 0
have hh := U.inner_map_map (e (Fin.castAdd n j)) (e (Fin.natAdd d i))
rw [hU i] at hh
have hne : Fin.castAdd n j ≠ Fin.natAdd d i := by
intro h
have hval := congrArg Fin.val h
simp only [Fin.val_castAdd, Fin.val_natAdd] at hval
omega
have he := orthonormal_iff_ite.mp e.orthonormal (Fin.castAdd n j) (Fin.natAdd d i)
rw [ite_eq_right hne] at he
simpa only [EuclideanSpace.inner_eq_star_dotProduct, dotProduct, star_trivial,
PiLp.toLp_apply] using hh.trans he
end InvariantIsing
end
end OAI

Xet Storage Details

Size:
2.07 kB
·
Xet hash:
f6d48c46dcb16d8c9dc640f987f71c99efe2fb8374c57afb3b8f6605a5033426

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