classical
ext west east
have hh:=congrFun (column_pow_mulVec n 2 (columnDelta east)) west
rw [columnDelta_vector] at hh
simp only [Matrix.mulVec,dotProduct,mul_ite,mul_one,mul_zero,Finset.sum_ite_eq',Finset.mem_univ,ite_true] at hh
change _ = (columnKernel n 11^2) west east
rw [hh]
unfold physicalDoubleMatrix columnVector
rw [hardDoubleRow_eq_columns physicalWeights n _ _ (by simp)]
rfl
lemmadouble_fixed_projected (W : ℕ) (v : Column (W+1)→ℂ)
(hv : (physicalDoubleMatrix (W+1)).mulVec v=v) : (archProjection W).mulVec v=v :=by
proof · 8
lines
havehi : ∀H,(physicalDoubleMatrix (W+1)^H).mulVec v=v :=by
intro H
induction Hwith
| zero => simp
| succ H ih => rw [pow_succ',←Matrix.mulVec_mulVec,ih,hv]
have hl:=double_vector_limit W v
simp_rw [hi] at hl
exact tendsto_nhds_unique hl tendsto_const_nhds
theoremphysical_gap_det_ne_zero (W : ℕ) : (gapMatrix W).det≠0:=by
proof · 7
lines
apply IsUnit.ne_zero
apply (Matrix.isUnit_iff_isUnit_det _).mp
apply Matrix.mulVec_injective_iff_isUnit.mp
intro v w h
apply sub_eq_zero.mp
apply gap_kernel W
rw [Matrix.mulVec_sub,h,sub_self]
lemmaplanarRow_add (i : ℕ) (ts : ListTileWeights) (f g : DiluteState) :
planarRow i ts (fun xs=>f xs+g xs)=(fun xs=>planarRow i ts f xs+planarRow i ts g xs) :=by
proof · 3
lines
induction ts generalizing i f g with
| nil => rfl
| cons t ts ih => simp only [planarRow,act_add,ih]
lemmafixedColumn_eq_kernel (t : TileWeights) (n : ℕ) (south north : Spin)
(f : DiluteState) (west : Fin n→Spin) :
fixedColumn t n south north f (List.ofFn west)=
∑east : Fin n→Spin,columnKernelSpin t n south north west east*f (List.ofFn east) :=by
lemmafixed_column_mulVec (H : ℕ) (south north : PlanarNormalization.Spin) (f : DiluteState) :
(columnKernel H (spinEquiv south) (spinEquiv north)).mulVec (columnVector H f)=
columnVector H (fixedColumn physicalWeights H south north f) :=by
proof · 14
lines
classical
funext w
obtain ⟨west,rfl⟩ := (columnSpinEquiv H).surjective w
simp only [columnVector,columnSpinEquiv_apply,Equiv.symm_apply_apply]
rw [fixedColumn_eq_kernel]
unfold Matrix.mulVec dotProduct
rw [←(columnSpinEquiv H).sum_comp]
apply Finset.sum_congr rfl
intro east heast
change columnKernel H (spinEquiv south) (spinEquiv north)
(columnSpinEquiv H west) (columnSpinEquiv H east) * _ = _
rw [columnKernel_eq_spin]
change _ * f (List.ofFn (fun j => spinEquiv.symm (spinEquiv (east j)))) = _
simp only [Equiv.symm_apply_apply]
lemmaboundaryProduct_cons (Hm : ℕ) (a b : Fin3) (s n : Column m) :
boundaryProduct H (m+1) (Fin.cons a s) (Fin.cons b n)=
columnKernel H a b*boundaryProduct H m s n :=by
lemmaportSumLeft_succ (Hm : ℕ) : portSumLeft H (m+1)=
columnKernel H21*rowTransfer H^m+rowTransfer H*portSumLeft H m :=by
proof · 2
lines
simp only [portSumLeft,Fin.sum_univ_succ,singleColumn_zero,singleColumn_succ,vacuum_cons m,
boundaryProduct_cons,boundaryProduct_vacuum,←Finset.mul_sum,rowTransfer]
lemmaportSumRight_succ (Hm : ℕ) : portSumRight H (m+1)=
columnKernel H12*rowTransfer H^m+rowTransfer H*portSumRight H m :=by
proof · 2
lines
simp only [portSumRight,Fin.sum_univ_succ,singleColumn_zero,singleColumn_succ,vacuum_cons m,
boundaryProduct_cons,boundaryProduct_vacuum,←Finset.mul_sum,rowTransfer]
lemmaportSumBoth_succ (Hm : ℕ) : portSumBoth H (m+1)=
columnKernel H22*rowTransfer H^m+columnKernel H21*portSumRight H m+
columnKernel H12*portSumLeft H m+rowTransfer H*portSumBoth H m :=by
proof · 4
lines
simp only [portSumBoth,Fin.sum_univ_succ,singleColumn_zero,singleColumn_succ,
boundaryProduct_cons,boundaryProduct_vacuum,Finset.sum_add_distrib,←Finset.mul_sum,
portSumLeft,portSumRight,rowTransfer]
abel
lemmamarked_power_coords (Hm : ℕ) :
(fun w e=>base ((markedColumn H^m) w e))=rowTransfer H^m ∧
(fun w e=>left ((markedColumn H^m) w e))=portSumLeft H m ∧
(fun w e=>right ((markedColumn H^m) w e))=portSumRight H m ∧
(fun w e=>both ((markedColumn H^m) w e))=portSumBoth H m :=by
proof · 33
lines
classical
induction m with
| zero =>
simp only [pow_zero,portSumLeft,portSumRight,portSumBoth,Fin.sum_univ_zero]
constructor
· ext w e
by_cases h:w=e <;> simp [Matrix.one_apply,h,base]
constructor
· ext w e
by_cases h:w=e <;> simp [Matrix.one_apply,h,left]
constructor
· ext w e
by_cases h:w=e <;> simp [Matrix.one_apply,h,right]
· ext w e
by_cases h:w=e <;> simp [Matrix.one_apply,h,both]
| succ m ih =>
rcases ih with ⟨h₀,h₁,h₂,h₃⟩
havee₀ w e : base ((markedColumn H^m) w e)=(rowTransfer H^m) w e := congrFun (congrFun h₀ w) e
havee₁ w e : left ((markedColumn H^m) w e)=portSumLeft H m w e := congrFun (congrFun h₁ w) e
havee₂ w e : right ((markedColumn H^m) w e)=portSumRight H m w e := congrFun (congrFun h₂ w) e
havee₃ w e : both ((markedColumn H^m) w e)=portSumBoth H m w e := congrFun (congrFun h₃ w) e
simp only [pow_succ',portSumLeft_succ,portSumRight_succ,portSumBoth_succ]
refine ⟨?_,?_,?_,?_⟩ <;> ext w e
· simp only [Matrix.mul_apply,base_sum,base_mul,markedColumn,base_form,e₀,rowTransfer]
· simp only [Matrix.mul_apply,left_sum,left_mul,markedColumn,base_form,left_form,e₀,e₁,
Finset.sum_add_distrib,Matrix.add_apply,rowTransfer]
ac_rfl
· simp only [Matrix.mul_apply,right_sum,right_mul,markedColumn,base_form,right_form,e₀,e₂,
Finset.sum_add_distrib,Matrix.add_apply,rowTransfer]
ac_rfl
· simp only [Matrix.mul_apply,both_sum,both_mul,markedColumn,base_form,left_form,right_form,
both_form,e₀,e₁,e₂,e₃,Finset.sum_add_distrib,Matrix.add_apply,rowTransfer]
ac_rfl
theoremmarked_power_mixed (Hm : ℕ) (w e : ColumnH) :
both ((markedColumn H^m) w e)=∑j : Fin m,∑k : Fin m,
prescribedPartition m H w e (singleColumn j) (singleColumn k) :=by
proof · 2
lines
have hh:=congrFun (congrFun (marked_power_coords H m).2.2.2 w) e
simpa only [portSumBoth,Matrix.sum_apply,prescribedPartition_eq_transfer,boundaryProduct] using hh
lemmafixedDoubleMatrix_eq (H : ℕ) (s₁ s₂ z₁ z₂ : Spin) :
fixedDoubleMatrix H s₁ s₂ z₁ z₂=
columnKernel H (spinEquiv s₁) (spinEquiv z₁)*
columnKernel H (spinEquiv s₂) (spinEquiv z₂) :=by
proof · 10
lines
classical
funext west east
have hh:=congrFun (fixed_column_mulVec H s₁ z₁
(fixedColumn physicalWeights H s₂ z₂ (columnDelta east))) west
rw [←fixed_column_mulVec H s₂ z₂,columnDelta_vector,Matrix.mulVec_mulVec] at hh
simp only [Matrix.mulVec,dotProduct,mul_ite,mul_one,mul_zero,Finset.sum_ite_eq',
Finset.mem_univ,ite_true] at hh
rw [hh]
unfold fixedDoubleMatrix columnVector
exact fixed_double_columns _ _ _ _ _ _ _ _ (by simp)
fun west east=>∑s₁ : Spin,∑s₂ : Spin,∑z₁ : Spin,∑z₂ : Spin,
physicalMarkedK eL s₁ s₂*physicalMarkedK eR z₁ z₂*
C (fixedDoubleMatrix H s₁ s₂ z₁ z₂ west east)
classical
funext west east
simp only [markedDoubleMatrix,Fintype.sum_option,Fintype.sum_bool,physicalMarkedK,
zero_mul,mul_zero,one_mul,add_zero,fixedDoubleMatrix_eq,spinEquiv_apply,spinIndex,
Matrix.mul_apply,map_sum,pow_two]
havebL : base eL=0:= rfl
havelL : left eL=1:= rfl
haverL : right eL=0:= rfl
havexL : both eL=0:= rfl
havebR : base eR=0:= rfl
havelR : left eR=0:= rfl
haverR : right eR=1:= rfl
havexR : both eR=0:= rfl
apply jet_ext <;>
simp only [base_add,left_add,right_add,both_add,base_mul,left_mul,right_mul,both_mul,
base_sum,left_sum,right_sum,both_sum,base_C,left_C,right_C,both_C,
markedColumn,base_form,left_form,right_form,both_form,
bL,lL,rL,xL,bR,lR,rR,xR,zero_mul,mul_zero,one_mul,mul_one,zero_add,add_zero,
Finset.sum_add_distrib] <;>
try simp only [zero_add,add_zero,Finset.sum_const_zero]
all_goals abel
lemmasourceR_charge (a h v c d : ℂ) (w n s e : Fin3)
(hz : Planar.sourceR a h v c d (n,w) (s,e)≠0) :
spinCharge w+spinCharge n=spinCharge s+spinCharge e :=by
proof · 2
lines
fin_cases w <;> fin_cases n <;> fin_cases s <;> fin_cases e <;>
simp_all [Planar.sourceR,spinCharge]
lemmacolumnKernel_charge {H : ℕ} (s n : Fin3) (w e : ColumnH)
(hz : columnKernel H s n w e≠0) :
columnCharge w+spinCharge n=columnCharge e+spinCharge s :=by
proof · 19
lines
classical
obtain ⟨vertical,_,hv⟩:=Finset.exists_ne_zero_of_sum_ne_zero hz
havehs : (Fin.snoc (α:=fun _=>Fin3) vertical n) 0=s :=by
by_contra hn
simp [hn] at hv
havehp : columnProduct w e vertical n≠0:=by simpa [hs] using hv
havehl : ∀j : FinH,spinCharge (w j)+spinCharge ((Fin.snoc (α:=fun _=>Fin3) vertical n) j.succ)=
spinCharge (vertical j)+spinCharge (e j) :=by
intro j
apply sourceR_charge
exact (Finset.prod_ne_zero_iff.mp hp) j (Finset.mem_univ j)
have hadd:=congrArg (funf : FinH→ℤ=>∑ j,f j) (funext hl)
simp only [Finset.sum_add_distrib] at hadd
have ha:=Fin.sum_univ_succ (funj : Fin (H+1)=>spinCharge ((Fin.snoc (α:=fun _=>Fin3) vertical n) j))
have hb:=Fin.sum_univ_castSucc (funj : Fin (H+1)=>spinCharge ((Fin.snoc (α:=fun _=>Fin3) vertical n) j))
simp only [Fin.snoc_castSucc,Fin.snoc_last] at hb
rw [hs] at ha
unfold columnCharge
omega
classical
intro w e hz
obtain ⟨s,_,hs⟩:=Finset.exists_ne_zero_of_sum_ne_zero hz
have hm:=hM w s (mul_ne_zero_iff.mp hs).1have hn:=hN s e (mul_ne_zero_iff.mp hs).2
omega
classical
induction m with
| zero =>
intro w e hz
havehe : w=e :=by
by_contra hn
simp [pow_zero,hn] at hz
subst e
simp
| succ m ih =>
rw [pow_succ']
simpa [rowTransfer,spinCharge] using shift_mul (kernel_hasShift H11) ih
lemmaarchColumn_charge {W : ℕ} (s : Column (W+1)) (hs : columnCharge s≠0) : archColumn W s=0:=by
proof · 9
lines
havehz : ∀ m,(rowTransfer (W+1)^m) s (fun _=>1)=0:=by
intro m
by_contra hn
have hh:=transfer_power_shift (W+1) m s (fun _=>1) hn
simp only [charge_vacuum,add_zero] at hh
exact hs hh
have hl:=archColumn_limit W s
simp only [hz] at hl
exact tendsto_nhds_unique hl tendsto_const_nhds
lemmaarchRow_charge {W : ℕ} (s : Column (W+1)) (hs : columnCharge s≠0) : archRow W s=0:=by
proof · 9
lines
havehz : ∀ m,(rowTransfer (W+1)^m) (fun _=>1) s=0:=by
intro m
by_contra hn
have hh:=transfer_power_shift (W+1) m (fun _=>1) s hn
simp only [charge_vacuum,add_zero] at hh
exact hs hh.symm
have hl:=archRow_limit W s
simp only [hz] at hl
exact tendsto_nhds_unique hl tendsto_const_nhds