lemmaangularLiftMatrix_background {A : Matrix (Fin2) (Fin2) ℤ} (hA : A.det=1)
(s : Fin3→ℝ) :
angularLiftMatrix A*flatBackgroundTensor (normalizedAngularTensor s A)*(angularLiftMatrix A)ᵀ=
angularNormalization A • flatBackgroundTensor s :=by
proof · 12
lines
have hd := congrArg (funz : ℝ=> z^2) (real_angular_det_one hA)
norm_num only [one_pow] at hd
have hm :=Real.sq_sqrt (angularNormalization_pos A).le
ext i j
fin_cases i <;> fin_cases j <;>
simp [Matrix.mul_apply,Fin.sum_univ_three,Matrix.transpose_apply,
angularLiftMatrix,flatBackgroundTensor,normalizedAngularTensor]
· nlinarith [hm]
· linear_combination angularNormalization A * s 0 * hd
· linear_combination angularNormalization A * s 1 * hd
· linear_combination angularNormalization A * s 1 * hd
· linear_combination angularNormalization A * s 2 * hd
lemmaundoAngularPoint_forward {A : Matrix (Fin2) (Fin2) ℤ} (hA : A.det=1)
(θ : Fin2→ℝ) (d : ℝ) (x : Coord3) :
angularNormalizedLift A (angularRealTranslation θ (undoAngularPoint A θ d x))=x-![d,0,0] :=by
proof · 5
lines
havehe : angularRealTranslation θ (undoAngularPoint A θ d x)=
angularInverseLift A (x-![d,0,0]) :=by
ext i
fin_cases i <;> simp [angularRealTranslation,undoAngularPoint]
rw [he,angularNormalizedLift_inverse hA]
intro n x
simp only [Function.comp_apply,ScalarConductivity.undoAngularPoint]
rw [show x+angularShift T n-![d,0,0]=(x-![d,0,0])+angularShift T n by abel,
angularInverseLift_shift]
rw [showScalarConductivity.angularInverseLift A (x-![d,0,0])+
angularShift T ![A11*n 0-A01*n 1,-A10*n 0+A00*n 1]-![0,θ 0,θ 1]=
(ScalarConductivity.angularInverseLift A (x-![d,0,0])-![0,θ 0,θ 1])+
angularShift T ![A11*n 0-A01*n 1,-A10*n 0+A00*n 1] by abel]
exact hf _ _
lemmaundoAngularValue_matching {s : Fin3→ℝ} {A : Matrix (Fin2) (Fin2) ℤ}
(hA : A.det=1) (θ : Fin2→ℝ) (d : ℝ) (h₀ : Fin2→ℤ)
(a b pa pb : (Fin2→ℤ) →ℝ) {v : Coord3→Fin2→ℝ}
(hv : ∀ y,y 0∈Icc0 (1/2) → v y=
![y 0+flatFourier s (normalizedFourierCoefficients s 0 d a) pa
(angularNormalizedLift A (angularRealTranslation θ y))/sqrt (angularNormalization A),
flatPhaseMode s h₀ (pb h₀) (angularNormalizedLift A (angularRealTranslation θ y))+
flatFourier s (normalizedFourierCoefficients s (torusRate s h₀) d b) pb
(angularNormalizedLift A (angularRealTranslation θ y))])
{x : Coord3} (hx : (x 0-d)/sqrt (angularNormalization A)∈Icc0 (1/2)) :
undoAngularValue A θ d (torusRate s h₀) v x=
![x 0+flatFourier s a pa x,flatPhaseMode s h₀ (pb h₀) x+flatFourier s b pb x] :=by
proof · 21
lines
havehm : sqrt (angularNormalization A)≠0:= (sqrt_pos.mpr (angularNormalization_pos A)).ne'
havehxy : (x-![d,0,0])+![d,0,0]=x := sub_add_cancel _ _
havehe : exp (-torusRate s h₀*d)*exp (torusRate s h₀*d)=1:=by
rw [←exp_add,show -torusRate s h₀*d+torusRate s h₀*d=0by ring,exp_zero]
have hmode := flatPhaseMode_translation s h₀ (pb h₀) d (x-![d,0,0])
rw [hxy] at hmode
unfold undoAngularValue
rw [hv _ (by simpa only [undoAngularPoint_zero] using hx),undoAngularPoint_forward hA,
flatFourier_normalized_translation,flatFourier_normalized_translation,hxy]
ext j
fin_cases j
· change sqrt (angularNormalization A)*(undoAngularPoint A θ d x 0+
exp (0*d)*flatFourier s a pa x/sqrt (angularNormalization A))+d=x 0+flatFourier s a pa x
rw [undoAngularPoint_zero]
simp only [zero_mul,exp_zero,one_mul]
field_simp [hm]
ring
· change exp (-torusRate s h₀*d)*(flatPhaseMode s h₀ (pb h₀) (x-![d,0,0])+
exp (torusRate s h₀*d)*flatFourier s b pb x)=_
rw [mul_add,←mul_assoc,he,one_mul,←hmode]
rfl