theoremdoubleCurve_differentiable (C : Matrix (XΓY) (PΓF) β) (p : Pββ) (r : Yββ)
(S : unitary (Matrix (XΓP) (XΓP) β)) (s : (XΓP) ββ)
(V : unitary (Matrix (XΓY) (XΓY) β)) (v : (XΓY) ββ) (Ξ² : β) :
Differentiableβ (fun z => flattenCLM (doubleCurve C p r S s V v Ξ² z)) :=by
proof Β· 15
lines
have hL := differentiable_stripProduct S1 s (funj : XΓP=> p j.2) (Ξ²/2) (-Ξ²/2)
have hR := differentiable_stripProduct V1 v (funj : XΓY=> r j.2) (Ξ²/2) (-Ξ²/2)
have hRi := hR.comp (differentiable_const (1:β) |>.sub differentiable_id)
havehRC : Differentiableβ (fun z => stripProduct V1 v (funj : XΓY=> r j.2)
(Ξ²/2) (-Ξ²/2) (1-z)*C) :=by
simpa only [Function.comp_def, Pi.sub_apply, id_eq] using
(matrixMul_differentiable (ΞΉ:=XΓY) (ΞΊ:=XΓY) (ΞΆ:=PΓF)).comp
(hRi.prodMk (differentiable_const C))
have hRR := reshuffleCLM.differentiable.comp hRC
havehM : Differentiableβ (doubleCurve C p r S s V v Ξ²) :=by
convert! (matrixMul_differentiable (ΞΉ:=XΓP) (ΞΊ:=XΓP) (ΞΆ:=YΓF)).comp
(hL.prodMk hRR) using1
exact flattenCLM.differentiable.comp hM
theoremdoubleCurve_left (C : Matrix (XΓY) (PΓF) β) (p : Pββ) (r : Yββ)
(S : unitary (Matrix (XΓP) (XΓP) β)) (s : (XΓP) ββ)
(V : unitary (Matrix (XΓY) (XΓY) β)) (v : (XΓY) ββ)
(Ξ² : β) (z : β) (hz : z.re=0) :
let t := Ξ²*z.im/2
proof Β· 19
lines
doubleCurve C p r S s V v Ξ² z=
power S s (Complex.I*(t:β))*power 1 (funj : XΓP=> p j.2) (-Complex.I*(t:β))*
reshuffle (power V v (((Ξ²/2:β):β)-Complex.I*(t:β))*
power 1 (funj : XΓY=> r j.2) (((-Ξ²/2:β):β)+Complex.I*(t:β))*C) :=by
dsimp only
havehz' : z=Complex.I*(z.im:β) :=by apply Complex.ext <;> simp [hz]
havehβ : ((Ξ²/2:β):β)*z=Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
havehβ : ((-Ξ²/2:β):β)*z=-Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
havehβ : ((Ξ²/2:β):β)*(1-z)=((Ξ²/2:β):β)-Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
havehβ : ((-Ξ²/2:β):β)*(1-z)=((-Ξ²/2:β):β)+Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
simp only [doubleCurve,stripProduct,hβ,hβ,hβ,hβ]
theoremdoubleCurve_right (C : Matrix (XΓY) (PΓF) β) (p : Pββ) (r : Yββ)
(S : unitary (Matrix (XΓP) (XΓP) β)) (s : (XΓP) ββ)
(V : unitary (Matrix (XΓY) (XΓY) β)) (v : (XΓY) ββ)
(Ξ² : β) (z : β) (hz : z.re=0) :
let t := Ξ²*z.im/2
proof Β· 20
lines
doubleCurve C p r S s V v Ξ² (z+1)=
power S s (((Ξ²/2:β):β)+Complex.I*(t:β))*
power 1 (funj : XΓP=> p j.2) (((-Ξ²/2:β):β)-Complex.I*(t:β))*
reshuffle (power V v (-Complex.I*(t:β))*
power 1 (funj : XΓY=> r j.2) (Complex.I*(t:β))*C) :=by
dsimp only
havehz' : z=Complex.I*(z.im:β) :=by apply Complex.ext <;> simp [hz]
havehβ : ((Ξ²/2:β):β)*(z+1)=((Ξ²/2:β):β)+Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
havehβ : ((-Ξ²/2:β):β)*(z+1)=((-Ξ²/2:β):β)-Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
havehβ : ((Ξ²/2:β):β)*(1-(z+1))=-Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
havehβ : ((-Ξ²/2:β):β)*(1-(z+1))=Complex.I*((Ξ²*z.im/2:β):β) :=by
conv_lhs => rw [hz']
push_cast; ring
simp only [doubleCurve,stripProduct,hβ,hβ,hβ,hβ]
letH:=QuantumSSA.conditionalEntropy (reshuffle (coefficient W)*
(reshuffle (coefficient W)).conjTranspose)
βflattenCLM (power S s ((Ξ²/4:β):β)*
power 1 (funj : XΓP=> p j.2) ((-Ξ²/4:β):β)*
reshuffle (power V v ((Ξ²/4:β):β)*
power 1 (funj : XΓY=> r j.2) ((-Ξ²/4:β):β)*coefficient W))ββ€Real.exp (-Ξ²*(conditionalEntropy W r+H)/4+Ξ΅/2+
(17/64:β)*100000*Real.rpow Ξ² (5/4:β)*l^2) :=by
dsimp only
let Ξ΅ :=3*Ξ²^2/(1-Ξ²)*(16*Real.exp 1*(Real.log (Fintype.card X:β))^2+32)
letH:=QuantumSSA.conditionalEntropy (reshuffle (coefficient W)*(reshuffle (coefficient W)).conjTranspose)
letQ:=100000*Real.rpow Ξ² (5/4:β)*l^2letG:=fun z => flattenCLM (doubleCurve (coefficient W) p r S s V v Ξ² z)
havehB : 0β€Q/4:=byhave:=Real.rpow_nonneg hΞ².le (5/4:β)
dsimp only [Q]; positivity
have hpair (z : β) (hz : z.re=0) :
βG zβ^2*βG (z+1)β^2β€Real.exp ((-Ξ²*(conditionalEntropy W r+H)+2*Ξ΅+Q)+(Q/4)*z.im^2) :=by
dsimp only [G]
rw [flatten_norm_sq,flatten_norm_sq,doubleCurve_left _ _ _ _ _ _ _ _ _ hz,
doubleCurve_right _ _ _ _ _ _ _ _ _ hz]
have hh := boundary_pair_energy W r hr hW hrsum p hp hpsum hP S s hs hsum V v hv hvsum hvne
Ξ² (Ξ²*z.im/2) l hΞ² hΞ²fourth hl hl' hsmall
dsimp only at hh
convert hh using1
congr 1
dsimp only [Ξ΅,H,Q]
field_simp [ne_of_gt hΞ²]
ring
have hg := paired_three_lines_vector_sq G (doubleCurve_differentiable _ _ _ _ _ _ _ _)
(doubleCurve_bounded _ _ _ _ _ _ _ _) (-Ξ²*(conditionalEntropy W r+H)+2*Ξ΅+Q) (Q/4) hB hpair
havehc : G (1/2)=flattenCLM (power S s ((Ξ²/4:β):β)*
power 1 (funj : XΓP=> p j.2) ((-Ξ²/4:β):β)*
reshuffle (power V v ((Ξ²/4:β):β)*
power 1 (funj : XΓY=> r j.2) ((-Ξ²/4:β):β)*coefficient W)) :=by
dsimp only [G,doubleCurve,stripProduct]
havehβ : ((Ξ²/2:β):β)*(1/2)=((Ξ²/4:β):β) :=by push_cast; ring
havehβ : ((-Ξ²/2:β):β)*(1/2)=((-Ξ²/4:β):β) :=by push_cast; ring
havehβ : (1:β)-1/2=1/2:=by norm_num
rw [hβ,hβ,hβ]
rw [hc] at hg
convert hg using1
congr 1
dsimp only [Ξ΅,H,Q]
ring