theoremresidual_eq_common_input
(SF : Finset (IdealEis)) {Pj : IdealEis}
(hP : AdmissibleP) (hj : j∣P) (hF : ∀I∈F,AdmissibleI)
(hcop : ∀I∈F,IsCoprimeI j) (hsub : columns SP j⊆F)
(η : IdealEis→*ℂ) (a : IdealEis→ℂ) (W : ℝ→ℂ)
(Z r z G : ℝ) (u : Eis) :
letI : ∀i:primePool F,(Ideal.span {poolPrimary F i}).IsMaximal:=
proof · 36
lines
fun i=>by rw [poolPrimary_span F hF i];infer_instance
residualNormalizedPolynomial SP j η a WZ r z G u =
((Z^(-(r+z-2*G)/2):ℝ):ℂ)*inputConjugateRow
(poolPrimary F) (poolPrimary_good F hF) Finset.univ
(elementCharacter η) (primaryGenerator j) 11
(funA=>if (∏i∈A,i.val)∈columns SP j then
a (reconstruct P j (∏i∈A,i.val))*residualOverlapWindow P j WZ z G
(((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) else0) u :=bylet : ∀i:primePool F,(Ideal.span {poolPrimary F i}).IsMaximal:=fun i=>by rw [poolPrimary_span F hF i];infer_instance
letH : IdealEis→ℂ:=fun c=>if c∈columns SP j then
a (reconstruct P j c)*residualOverlapWindow P j WZ z G
((c.absNorm:ℝ)/Z^(r+z-2*G)) else0havehfilter : F.filter (fun c=>c∈columns SP j)=columns SP j :=by
ext c
simp only [Finset.mem_filter]
exact and_iff_right_of_imp (fun h=>hsub h)
havehe : (∑c∈columns SP j,
overlapResidualCoefficient P j η a WZ r z G c*star (CanonicalRowCompletion.idealRowHom u c))=
∑c∈F,(moebius c:ℂ)*η c*H c*star (CanonicalRowCompletion.idealRowHom u c) :=by
conv_rhs => arg 2;ext c;dsimp only [H];simp only [mul_ite,mul_zero,ite_mul,zero_mul]
rw [←Finset.sum_filter,hfilter]
apply Finset.sum_congr rfl
intro c hc
rw [overlapCoefficient_residual]
unfold bareOverlapCoefficient
ring
unfold residualNormalizedPolynomial
rw [he,selected_conjugate_row F hF j (admissible_of_dvd hP hj) hcop η H u]
apply congrArg (funv:ℂ=>((Z^(-(r+z-2*G)/2):ℝ):ℂ)*v)
congr 1
funext A
dsimp [H]
by_cases hc : (∏i∈A,i.val)∈columns SP j
· simp only [hc,hsub hc,ite_true]
· simp only [hc,ite_false,ite_self]